Answer the question
In order to leave comments, you need to log in
How to add one collection of objects to two maps (Yandex maps API)?
Objects are only added to the last map:
map.geoObjects.add(polygons);
smallMap.geoObjects.add(polygons);
smallMap.geoObjects.add(polygons);
map.geoObjects.add(polygons);
Answer the question
In order to leave comments, you need to log in
It seems that to add to the second map, you will have to make a copy of the object.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question