How to accelerate ClearGraphics for a layer which contains many Graphics (about 40000) The graphics are Simplemarkers. Thanks
Hi,
Please can you provide some example code (preferably a self-contained standalone app) which demonstrates the issue you are seeing?
Cheers
Mike
Hi
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 ,
style diamond.
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.
Thanks
Dana
Please can you share your code?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.