Leaflet EdgeMarker is a Leaflet plugin which allows you to indicate Markers, Circles and CircleMarkers that are outside of the current view by displaying CircleMarkers at the edges of the map.
Check out the demo
bower install Leaflet.EdgeMarker
- Download the
- Include the file after you included
images/edge-arrow-marker.pngto the leaflet image directory or specify your own marker icon (see demo).
- Initialize the EdgeMarkers with
L.edgeMarker().addTo(map)after you initialized your
Or look at the source of