S
S
stainer2018-08-01 14:59:29
Yandex
stainer, 2018-08-01 14:59:29

How to paint polygon areas?

Good afternoon.
Tell me, please, how in this example to paint over the area up to the Moscow Ring Road with a certain color?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2018-08-01
@freeExec

var myPolygon = new ymaps.Polygon(<тут-содержимое-вашего-geojson-с-границами>, { fillColor: '#ffff0022'});
myMap.geoObjects.add(myPolygon);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question