Hi,
I am working on a project that needs to display colored squares on the Map, which is being plotted when a central location is received from another project that is running. I am using MapPolyline/MapPolygon and dedicated Maplayer to achieve this. As my software
receives the locations, a new polygon(square) is created which will be adjacent to the existing ones, and the CPU usage is increasing as I add more polygons. After a while, I stop adding more polygons, but even at this time, the CPU usage remains high. The
CPU usage reduces only after I clear the Maplayer with all the polygons that were rendered.
What would be the best approach to render these polygons on the Map? Any suggestions would be appreciated.