Home javascript Yandex Maps with Movement Position

Yandex Maps with Movement Position




for static position is understandable. Suppose I get the coordinates and keep them in variables. How to restart the location without reloading the card itself?

Answer 1, Authority 100%

If I correctly understood the question you need to move the map to a new location
There are 2 options

mymap.panto (
  // Coordinates of the new Card Center
  [55.753, 37.609], {
    / * Move options:
      Allow reduce and then increase zoom
      Cards when moving between dots
    * /
    Flying: True.


mymap.setcenter ([40, 50], 3, {
  Checkzoomrange: True.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions