Skip to main content

LayerBase Members

Serves as the base class for all layers.

Constructors

Name Description
LayerBase() Initializes a new instance of the LayerBase class with default settings.

Fields

Name Description
MaxZoomLevelProperty static Identifies the LayerBase.MaxZoomLevel dependency property.
MinZoomLevelProperty static 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
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
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.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
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.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ScreenPointToMapUnit(Point) Converts the specified screen point into internal map units.
ScreenToGeoPoint(Point) Converts the specified screen point into the corresponding geographical point.
ToString() Returns a string that represents the current object. Inherited from Object.

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.
See Also