Hi,
Our application require to create the symbol elements in a map layer programatically.
I am using a loop to add 440 symbol elements to a Map layer using MyLayer.Elements.Add(Symbol). It took about 40 seconds to finish. It is too slow. Is there any way we can improve the performance?
Thanks
the map subscribes to the Elements' CollectionChanged event, so each time you add an element, code is executed to refresh the UI.
try creating your layer in code, adding elements to it, then adding it to the map's Layers collection and optionally calling WindowFit(). this should require only one refresh of the UI.
hi
i want to add some symbols say (boiler.png) to particular elements. i gone throw some online resource where they added new layer for symbol which i don't want. is't possible to add symbol to map element with out adding extra layer .i have code for adding symbol to map element with the use of another layer...