A
A
Aleksandr2016-12-01 13:46:38
JavaScript
Aleksandr, 2016-12-01 13:46:38

Moving on yandex map?

Here is the link
I added the points I needed. But I just can’t figure out how to make the selected point the center when clicking on the cities? And move the map accordingly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2016-12-01
@Sashjkeee

I think something like this
myMap - a global variable
And to go through all the elements in the function and assign it onclick or in the html code - it's up to you to decide.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question