Answer the question
In order to leave comments, you need to log in
Is there a wrapper over Yandex and Google maps?
Is there any js library that wraps both maps?
What you want: so that you can specify directly in the js code in the options which maps you need to use - Google or Yandex. And then I can somehow manipulate the maps through the API of this wrapper - display them, scale them, put markers, draw shapes. Does anyone know this?
Answer the question
In order to leave comments, you need to log in
leafletjs.com
-------------
https://github.com/Leaflet/Leaflet/blob/master/FAQ.md
The problem with Google is that its Terms of Use forbid any means of tile access other than through the Google Maps API.
You can add the Google Maps API as a Leaflet layer with a plugin. But note that the map experience will not be perfect, because Leaflet will just act as a proxy to the Google Maps JS engine, so you won't get all the performance and usability benefits of using Leaflet when the Google layer is on.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question