V
V
Vadim2016-11-16 15:55:11
JavaScript
Vadim, 2016-11-16 15:55:11

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

1 answer(s)
E
Eugene 222, 2016-11-16
@mik222

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.

The same is true for Yandex. Those. This is a legal question, not a software one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question