Answer the question
In order to leave comments, you need to log in
How to optimize a large number of polygons in Yandex Maps?
The map has a large number of selected objects by polygons, there are over 1000 of them, and therefore the map slows down. It was decided to hide all polygons (visible: false) and show it (visible: true) when hovering over an object . On canvas, there is a ready-made solution for this through
Is there a ready-made solution for determining whether a point belongs to a polygon, given that the polygon may have an internal contour. Or how can this be done?
Example: https://jsfiddle.net/Lsnh105x/3/ctx.isPointInPath(100, 500)
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