N
N
Nikita Roschenko2015-06-15 16:46:56
Yii
Nikita Roschenko, 2015-06-15 16:46:56

How do I add a search function to the leaflet to find my location?

Good afternoon, the task is to implement maps with the search for "your location". Decided to use Yii2 + extension leaflet. Unfolded the map, set it up for yourself. But there were difficulties with the function of geolocation of my location, I can’t find this functionality either in the dock to the extension or in Google.
Knowledgeable people, tell me which way to look, or if it's not difficult how to implement it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
My joy, 2015-06-15
@t-alexashka

https://github.com/domoritz/leaflet-locatecontrol
there is a demo, take a look.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question