Edit this page

Disposing RadMap

The RadMap control usually needs to be disposed when you no longer use it. This will release all resources used by the map. To do this you can manually call the Dispose method of the RadMap control.

The map is not disposed by default. You need to do this manually.

Example 1: Disposing RadMap

radMap.Dispose();

The providers and the VisualizationLayer also expose a Dispose method. This is useful if you want to change the layer or provider instances at run-time and release their resources.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy