ClassEmptyMapProvider
Provides an empty map implementation that displays no content, useful for scenarios requiring a blank map canvas or as a placeholder provider.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
public class EmptyMapProvider : IMapProvider, ICloneable
Inheritance: objectEmptyMapProvider
Implements:
Constructors
EmptyMapProvider()
Declaration
public EmptyMapProvider()
Properties
Id
Gets the unique identifier for this empty map provider, always returning "Empty".
Initialized
Gets a value indicating whether this empty map provider has completed its initialization process.
MaxZoomLevel
Gets or sets the maximum zoom level supported by this empty map provider.
MinZoomLevel
Gets or sets the minimum zoom level supported by this empty map provider.
Methods
Clone()
Creates a deep copy of this EmptyMapProvider instance with identical configuration settings.
Declaration
public object Clone()
Returns
A new EmptyMapProvider object that is a copy of this instance.
Implements
GetContent(IMapViewport)
Retrieves the visual elements for the current viewport, always returning an empty collection as this provider displays no content.
Declaration
public IEnumerable<MapVisualElement> GetContent(IMapViewport viewport)
Parameters
viewport
The IMapViewport defining the current view area and settings.
Returns
IEnumerable<MapVisualElement>
An empty enumerable collection of MapVisualElement objects.
Implements
GetSupportedViews()
Gets the list of supported map views for this provider, always returning null as no views are supported.
Declaration
public List<MapViewInfo> GetSupportedViews()
Returns
List<MapViewInfo>
Always returns null since empty provider supports no specific views.
Implements
Initialize()
Initializes the empty map provider, marking it as ready and raising the initialization complete event.
Declaration
public void Initialize()
Implements
OnInitializationComplete()
Raises the InitializationComplete event when provider initialization is successfully completed.
Declaration
protected virtual void OnInitializationComplete()
OnInitializationError()
Raises the InitializationError event when an error occurs during provider initialization.
Declaration
protected virtual void OnInitializationError()
OnProviderUpdated()
Raises the ProviderUpdated event when provider content changes.
Declaration
protected virtual void OnProviderUpdated()
SetView(MapViewInfo)
Sets the active map view for this provider, currently not implemented for empty provider.
Declaration
public void SetView(MapViewInfo view)
Parameters
view
The MapViewInfo representing the desired map view.
Implements
ViewportChanged(IMapViewport, ViewportChangeAction)
Responds to viewport changes by initializing the provider if not already initialized, but performs no content operations.
Declaration
public void ViewportChanged(IMapViewport viewport, ViewportChangeAction action)
Parameters
viewport
The IMapViewport representing the current view settings and visible area.
action
The ViewportChangeAction indicating the type of viewport change that occurred.
Implements
Events
InitializationComplete
Occurs when the provider initialization process is completed successfully.
Declaration
public event EventHandler InitializationComplete
Event Value
Implements
InitializationError
Occurs when an error is encountered during the provider initialization process.
Declaration
public event InitializationErrorEventHandler InitializationError
Event Value
Implements
ProviderUpdated
Occurs when the provider content is updated, though empty provider never updates its content.
Declaration
public event EventHandler ProviderUpdated
Event Value
Implements