- 2 min to read
This document describes the purpose of layers, and the types of layers used in a Map Control.
There are several types of layers.
This layer should be used to draw maps that consist of image tiles. These image tiles are obtained by the ImageTilesLayer from one of the supported data providers - either Bing Maps or OpenStreetMap. The type of the current data provider is defined by the type of the object assigned to the ImageTilesLayer.DataProvider property of the layer.
Below is a screenshot of map images provided by Bing Maps for the ImageTilesLayer object.
This layer should be used to draw vector elements on a map. These elements include predefined or custom items.
The image below illustrates a map with a vector items layer containing map custom elements.
This layer should be used to draw shapes on a map loaded from one of the supported shape file formats (Shapefile or KML).
The following image shows a map based on vector items loaded from a Shapefile.