New to Telerik UI for WPF? Start a free 30-day trial
Disposing RadMap
Updated on Sep 15, 2025
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
C#
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.