Leaflet.Control.Search
A Leaflet Control for search markers/features location by attribute
and much more.
Other useful stuff for
Web Mapping...
If any of these open source solutions help your work and saved you time consider sending a donation
Features
Autocomplete
No require external Ajax libs
Retrieve data locations by Ajax/Jsonp
Pre-filtering data from Ajax/Jsonp
Complete fields remapping for remote Jsonp service
Data source callback support
Localization placeholder and text alert
Autozoom on location founded
Autoresize textbox
Customize tooltip menu
Many options to customize the behavior
Support search in features collection
Render Search Box Outside the Leaflet Map
AMD and CommonJS compatible
Examples
Simple
Multiple Layers
Outside the Map
GeoJSON features
Ajax with Custom Icon
Jsonp
Ajax by jQuery
Custom static data using sourceData option
Jsonp Filtered
Custom Tip Item
GeoCoding - Google
GeoCoding - OSM Nominatim
Mobile styled
Search text by method
Custom filter, Fuzzy Search
RequireJS module loading
Location to website
Search in popup content
Code repositories
Github.com
Node Packaged Module
Website
opengeo.tech/maps/leaflet-search
Download
Dev Pack (.zip)
Source Code (.js)
Compressed (.min.js)
Website
•
Stefano Cudini
Publish your application:
Websites that use Leaflet Control Search
For questions and bugs:
I recommend you to
create New Issue
on Github repository.
Or to obtain a fast response consult
Official Leaflet community forum
.