skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class EmptyMapProvider

Provides an empty map implementation that displays no content, useful for scenarios requiring a blank map canvas or as a placeholder provider.

Inheritance
System.Object
EmptyMapProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadMap.dll

Syntax

public class EmptyMapProvider : IMapProvider, ICloneable

Constructors

EmptyMapProvider()

Declaration
public EmptyMapProvider()

Properties

Id

Gets the unique identifier for this empty map provider, always returning "Empty".

Declaration
public string Id { get; }
Property Value
System.String

Implements
IMapProvider.Id

Initialized

Gets a value indicating whether this empty map provider has completed its initialization process.

Declaration
public bool Initialized { get; protected set; }
Property Value
System.Boolean

MaxZoomLevel

Gets or sets the maximum zoom level supported by this empty map provider.

Declaration
public int MaxZoomLevel { get; set; }
Property Value
System.Int32

Implements
IMapProvider.MaxZoomLevel

MinZoomLevel

Gets or sets the minimum zoom level supported by this empty map provider.

Declaration
public int MinZoomLevel { get; set; }
Property Value
System.Int32

Implements
IMapProvider.MinZoomLevel

Methods

Clone()

Creates a deep copy of this EmptyMapProvider instance with identical configuration settings.

Declaration
public object Clone()
Returns
System.Object

A new EmptyMapProvider object that is a copy of this instance.

Implements
System.ICloneable.Clone()

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
IMapViewport viewport

The IMapViewport defining the current view area and settings.

Returns
System.Collections.Generic.IEnumerable<MapVisualElement>

An empty enumerable collection of MapVisualElement objects.

Implements
IMapProvider.GetContent(IMapViewport)

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
System.Collections.Generic.List<MapViewInfo>

Always returns null since empty provider supports no specific views.

Implements
IMapProvider.GetSupportedViews()

Initialize()

Initializes the empty map provider, marking it as ready and raising the initialization complete event.

Declaration
public void Initialize()
Implements
IMapProvider.Initialize()

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
MapViewInfo view

The MapViewInfo representing the desired map view.

Implements
IMapProvider.SetView(MapViewInfo)

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
IMapViewport viewport

The IMapViewport representing the current view settings and visible area.

ViewportChangeAction action

The ViewportChangeAction indicating the type of viewport change that occurred.

Implements
IMapProvider.ViewportChanged(IMapViewport, ViewportChangeAction)

Events

InitializationComplete

Occurs when the provider initialization process is completed successfully.

Declaration
public event EventHandler InitializationComplete
Event Type
System.EventHandler

Implements
IMapProvider.InitializationComplete

InitializationError

Occurs when an error is encountered during the provider initialization process.

Declaration
public event InitializationErrorEventHandler InitializationError
Event Type
InitializationErrorEventHandler

Implements
IMapProvider.InitializationError

ProviderUpdated

Occurs when the provider content is updated, though empty provider never updates its content.

Declaration
public event EventHandler ProviderUpdated
Event Type
System.EventHandler

Implements
IMapProvider.ProviderUpdated

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.