Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoSearch with tooltip menu #23

Closed
stefanocudini opened this issue May 4, 2013 · 0 comments
Closed

GeoSearch with tooltip menu #23

stefanocudini opened this issue May 4, 2013 · 0 comments

Comments

@stefanocudini
Copy link

Hi

I'm a leaflet developer, I wanted you to note the last version of my plug-in Leaflef.Control.Search!
Now support any 3rd party jsonp service and support complete remapping json fields.

This way you can implement geocode serching with tooltip menu and autotyping, in 6 rows:

map.addControl( new L.Control.Search({
        url: 'http://nominatim.openstreetmap.org/search?format=json&q={s}',
        jsonpParam: 'json_callback',
        propertyName: 'display_name',
        propertyLoc: ['lat','lon']
    }) );

Repository

Demos

regards!
Stefano

@smeijer smeijer closed this as completed Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants