V
V
ValeraValera2017-01-09 14:52:10
JavaScript
ValeraValera, 2017-01-09 14:52:10

How to insert a Yandex map with objects from another site to your own?

Here is the site www.freeway.by
from which you need to insert a map with objects only for the city of Gomel into your site.
How to do it ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2017-01-09
@Taraflex

https://tech.yandex.ru/maps/doc/jsapi/1.x/dg/tasks...
And there are only 5 coordinates - it's easier to score with pens.

D
davidnum95, 2017-01-09
@davidnum95

Необходимо средствами js отправить POST запрос на www.freeway.by/ajax/element_list.php, в теле будут такие данные: data1:{"=PROPERTY_49":["\u0413\u043e\u043c\u0435\u043b\u044c"],"=PROPERTY_50":["51","42","47","46","49","48","43","44","40","41","45","50"],"=PROPERTY_6":["29","31","30"],"toilet_avail":"2"}.
Затем забиваешь карту на своем сайте полученными в ответе данными.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question