Skip to content

VirtuoWorks/leaflet-list-markers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaflet List Markers

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

Tested in Leaflet 0.7.1

#Where

Demos:
opengeo.tech/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

About

A Leaflet Control for listing visible markers/features in a interactive box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.0%
  • HTML 26.4%
  • CSS 15.6%