LayerBase Members

Constructors

Name Description
LayerBase()

Initializes a new instance of the LayerBase class with default settings.

Fields

Name Description
MaxZoomLevelProperty

Identifies the LayerBase.MaxZoomLevel dependency property.

MinZoomLevelProperty

Identifies the LayerBase.MinZoomLevel dependency property.

Properties

Name Description
MaxZoomLevel

Gets or sets the maximum zoom level at which this layer should be visible.

MinZoomLevel

Gets or sets the minimum zoom level at which this layer should be visible.

Methods

Name Description
GeoPointToMapUnit(GeoPoint)

Converts the specified geographical point into internal map units.

GeoToKilometersSize(GeoPoint, Size)

Converts the specified size in geographical points into the corresponding size in kilometers for the specified anchor point.

GeoToScreenPoint(GeoPoint)

Converts the specified geographical point into a point on the screen.

KilometersToGeoSize(GeoPoint, Size)

Converts the specified size in kilometers into the corresponding size in geographical points for the specified anchor point.

MapUnitToGeoPoint(MapUnit)

Converts the specified map unit into the corresponding geographical point.

MapUnitToScreenPoint(MapUnit)

Converts the specified map unit into the point on a screen.

ScreenPointToMapUnit(Point)

Converts the specified screen point into internal map units.

ScreenToGeoPoint(Point)

Converts the specified screen point into the corresponding geographical point.

Events

Name Description
PropertyChanged

Occurs every time any of the MapElement class properties has changed its value.

(Inherited from MapElement)
ViewportChanged

Occurs every time the current viewport is changed.