Given: Yandex map map assembled through the constructor by superimposing two polygons on each other. In this case, green is superimposed on blue. If you do without an overlay, the blue polygon that surrounds in this case the green polygon will have an ugly screen seam.

The task is complicated by the fact that you need to create 5 polygons corresponding to the conditions of delivery:

In Moscow within the Moscow Ring Road - Free In Moscow, beyond the Moscow Ring Road and in the Moscow Region up to 10 km - 399 R to 20 km - 499 R to 30 km - 599 R to 50 km - 799 R

As you already understood, it is necessary that the site corresponds to the mileage from the Moscow Ring Road.

Question one: How to get rid of a seam in polygons, if done without overlap? Question two: how to make the polygon have a distance restriction from the Moscow Ring Road?

So I understand in the framework of the designer is not solved, or perhaps?

  • "How to get rid of a seam in polygons, if done without overlap?" Polygons can have internal contours that cut a hole in it. tech.yandex.ru/maps/jsbox/2.1/polygon - se0ga
  • As part of the constructor, this is solved by sticking points along the coordinates you need. In order to know the distance there is a ruler or length of the line. But of course there is no function “to create a polygon, each point of which lies at a distance of 10 km from the Moscow Ring Road”. The second option: find the coordinates of the Moscow Ring Road somewhere and generate a polygon with the coordinates you need. Each coordinate of which lies at a distance of 10 km from the Moscow Ring Road. But IMHO, the first option is easier) - se0ga
  • in principle, I thought so - Alexander Andreev

0