Answer the question
In order to leave comments, you need to log in
How to give each polygon its own name and description (api yandex maps)?
Good, how to set a name and description for each polygon
myPolygon = new ymaps.Polygon(
[
[
[ -520.219, -1223.00 ], [ -26.2188, -1227.00 ], [ -26.2188, -81.0000 ], [ -520.219, -81.0000 ], [ -520.219, -1223.00 ],
],
[
[ 167.011, 208.186 ], [ 521.011, 207.186 ], [ 521.011, -214.814 ], [ 167.011, -214.814 ], [ 167.011, 208.186 ]
],
],
{
hintContent: "Многоугольник2",
balloonContent: "Тестирование показа описания2"
}
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question