Skip to content

How to show the marker for leafmap searching #471

Answered by giswqs
zxdawn asked this question in Q&A
Discussion options

You must be logged in to vote

Like this?

import leafmap
m = leafmap.Map(search_control=False)
url = 'https://nominatim.openstreetmap.org/search?format=json&q={s}'
m.add_search_control(url, zoom=10)
m

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zxdawn
Comment options

Answer selected by zxdawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants