shramov / leaflet-plugins

Plugins for Leaflet library
http://psha.org.ru/b/leaflet-plugins.html
MIT License
722 stars 289 forks source link

Yandex SearchControl not works #296

Closed a-a-k closed 4 years ago

a-a-k commented 4 years ago

Firstly, it has a strange position. At what layer it is? How can I drive it's sizing?

image

While searching something even only one time I'm always getting the next error

image

johnd0e commented 4 years ago
  1. It is working. Just use proper api key.
  2. We do not define position of yandex 'native' controls. You can use ymaps api for that. Or it may be possible via css. And easier would be to change position of leaflet control.
  3. To put search control over markers - special handling needed - see Yandex.addon.Controls.js.