+1 vote
by
Kind, how to give each polygon its own name and description
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"
}
);

1 Answer

0 votes
by
You have already written the answer to your question
...