E
E
Eugene2017-11-21 09:23:23
Yandex maps
Eugene, 2017-11-21 09:23:23

How to display items in an external list in Yandex maps?

There is a code jsfiddle.net/satantx/97k470hr
Now the city of Vladimir is displayed in the search bar. It has 2 elements attached to it. How to show them in the list on the right, and so that you can click on an element in the list and the center of the map has shifted to this address.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2017-11-21
@freeExec

  1. Create an element in the DOM tree.
  2. Subscribe to his click.
  3. If it worked, set the map center to X, Y coordinates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question