A Leaflet Control for listing visible markers/features in a interactive box
Switch branches/tags
Nothing to show
Clone or download
Latest commit dd0b225 Nov 26, 2017
Permalink
Failed to load latest commit information.
dist support leaflet 1.0 Nov 26, 2017
examples css Oct 12, 2017
images option icon renamed in itemIcon Jun 12, 2014
src support leaflet 1.0 Nov 26, 2017
.gitignore support leaflet 1.0 Nov 26, 2017
Gruntfile.js basic behavior Jan 8, 2014
README.md screenshot May 16, 2014
TODO added events item-mouseover,item-mouseout Jun 12, 2014
index.html css Oct 12, 2017
package.json support leaflet 1.0 Nov 26, 2017

README.md

Leaflet List Markers

#What A Leaflet Control for listing visible markers/features in the map

Tested in Leaflet 0.7.1

#Where

Demos:
labs.easyblog.it/maps/leaflet-list-markers

Source code:
Github

Image

#How Include leaflet-list-markers.css to page

Adding the List control to the map:

map.addControl( new L.Control.ListMarkers({layer: markersLayer}) );
//markersLayer is a L.LayerGroup contains listing markers

short way:

var map = new L.Map('map', { listMarkersControl: {layer: markersLayer} });

#Build

Since Version 1.4.7 this plugin support Grunt for building process. Therefore the deployment require NPM installed in your system. After you've made sure to have npm working, run this in command line:

npm install
grunt