Leaflet Control for searching markers/features by attribute on map or remote searching in jsonp/ajax
A Leaflet control that search markers/features location by custom property.
Support ajax/jsonp autocompletion and JSON data filter/remapping.
Copyright 2014 Stefano Cudini
Tested in Leaflet 0.7.2
Bug tracking: Waffle.io
Adding the search control to the map:
mapaddControl Searchlayer: searchLayer ;//searchLayer is a L.LayerGroup contains searched markers
Lmap'map' searchControl: layer: searchLayer ;
Therefore the deployment require npm installed in your system.