Skip to content

frankrowe/Leaflet.Crosshairs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Leaflet.Crosshairs

Displays a crosshair mouse cursor on the map.

Usage

Include the L.Crosshair.js file and create a map, then call:

L.crosshairs().addTo(map)

//Style Options
L.crosshairs({
  style: {
    opacity: 1,
    fillOpacity: 0,
    weight: 2,
    color: '#333',
    radius: 20
  }
})

About

Use Crosshairs as a mouse cursor for a Leaflet map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published