A Leaflet control that search markers/features location by custom property.
Support ajax/jsonp autocompletion and JSON data filter/remapping.
Copyright 2016 Stefano Cudini
Tested in Leaflet 0.7.7,1.0
Bug tracking: Waffle.io
Adding the search control to the map:
var searchLayer = L;//... adding data in searchLayer ...map;//searchLayer is a L.LayerGroup contains searched markers
var searchLayer = L;//... adding data in searchLayer ...L;
Therefore the deployment require npm installed in your system.