Topic: Several issues with drawing polygons on the map
Hello Alex,
We're having several images with drawing polygons on the map.
We are currently displaying some farm areas but we've run across the follow few issues:
* The shape of the polygons differ greatly depending on the zoomlevel, as shown in this image:![]()
The one on zoomlevel 14 is more accurate to how it looks in real life.
Note: At zoomlevel 16 the whole program crashes, which leads to the following issue:
* It seems like one larger polygon is a lot more performance heavy than a lot of smaller polygons. Is this correct?
* The way the polygons are shown differs greatly between methods:![]()
All images use zoomlvl 12. On the first image the regular polygon drawing method is used with only outlines.
Using the overlay method (which is really slow, which we knew beforehand), a few polygons go missing and some get pretty different shapes.
We also tried uncommenting the triangulation code in OnlineMapsDrawingPoly and it works pretty nicely although most polygons actually disappear completely..
The overlay method seems to be more accurate in shape, but it's pretty ugly and slow and it skips some polygons.
Is there a reason why the regular polygon meshes don't use accurate shapes on higher zoomlevels?
Are there any fixes?