[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Collapse]Map Control
   [Expand]Getting Started
    Layers
   [Expand]Coordinate Systems
   [Expand]Map Image Data
   [Expand]GIS Data
   [Expand]Vector Data
   [Expand]Visual Elements
   [Expand]End-User Interaction
   [Expand]Examples
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Layers

This document describes the Map Control's layers.

Layers draw data on a map and are stored in a LayerCollection the MapControl.Layers property returns.

There are several types of layers:

  • ImageLayer

    This layer draws map images. The ImageLayer obtains these images from one of the supported data providers (Bing Maps, OpenStreetMap or Web Map Service Provider). The object assigned to the layer's ImageLayer.DataProvider property defines the service that provides data.

    The screenshot below shows map images for the ImageLayer object from Bing Maps.

  • InformationLayer

    Add this layer to the Map Control to add GIS functionality to your application. The built-in UI elements allow end users to send requests to the corresponding GIS data provider, and the information layer displays the results of these requests in the Map control. The layer's data provider defines the type of geo information the layer displays (Search, Geocode, or route).

    The following screenshot shows a Map Control with a search panel that displays results from the Bing Search Data Provider:

  • VectorLayer

    Use this layer to draw vector elements on a map. These elements include predefined or custom vector elements, and shapes loaded from a supported shape file format.

    To provide settings for a specific shape data adapter, adjust the settings of a MapDataAdapterBase class descendant object the VectorLayer.Data property returns.

    An image below shows the Map Control with the VectorLayer object that displays shapes loaded from a shapefile:

Expanded See Also

Is this topic helpful?​​​​​​​