How to accelerate ClearGraphics for a layer which contains many Graphics (about 40000) The graphics are Simplemarkers. Thanks
Please can you provide some example code (preferably a self-contained standalone app) which demonstrates the issue you are seeing?
Thanks for your answer.
I create a cloud of graphics .
The graphics a points in a circle with 10 km radius.
All the graphics have the same symbol - SimpleMarker 2x2 pixel each one ,
I create a list of graphics and I put the graphics in a Graphic layer.
The number of graphics is aprox. 40000.
The graphics are displayed on the map.
When I want to draw another cloud in other place on the map, I must clear
the previous graphics
I use layer.ClearGraphics .
This operation is very long.Sometimes 1.5 minutes.
Please can you share your code?
Retrieving data ...