Skip to main content

MapItemsLayerBase Members

The base class for layers that display map items.

Constructors

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

Fields

Name Description
InitialMapSizeProperty static Identifies the MapItemsLayerBase.InitialMapSize dependency property.
MapProjectionProperty static Identifies the MapItemsLayerBase.MapProjection dependency property.
MaxZoomLevelProperty static Identifies the LayerBase.MaxZoomLevel dependency property. Inherited from LayerBase.
MinZoomLevelProperty static Identifies the LayerBase.MinZoomLevel dependency property. Inherited from LayerBase.
SelectedItemBrushProperty static Identifies the MapItemsLayerBase.SelectedItemBrush dependency property.
SelectedItemProperty static Identifies the MapItemsLayerBase.SelectedItem dependency property.
SelectedItemsProperty static Identifies the MapItemsLayerBase.SelectedItems dependency property.
ToolTipPatternProperty static Identifies the MapItemsLayerBase.ToolTipPattern dependency property.

Properties

Name Description
InitialMapSize Gets or sets the size of a map shape tile to provide a map projection.
MapProjection Gets or sets the current projection used by this MapItemsLayerBase object.
MaxZoomLevel Gets or sets the maximum zoom level at which this layer should be visible. Inherited from LayerBase.
MinZoomLevel Gets or sets the minimum zoom level at which this layer should be visible. Inherited from LayerBase.
SelectedItem Gets or sets the currently selected item on a layer.
SelectedItemBrush Gets or sets the brush that specifies how the selected item outline is painted.
SelectedItems Gets or sets the collection of selected items on this layer.
ToolTipPattern Gets or sets a string that is the pattern specifying the text to be displayed within a tooltip.

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. Inherited from LayerBase.
GeoToKilometersSize(GeoPoint, Size) Converts the specified size in geographical points into the corresponding size in kilometers for the specified anchor point. Inherited from LayerBase.
GeoToScreenPoint(GeoPoint) Converts the specified geographical point into a point on the screen. Inherited from LayerBase.
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. Inherited from LayerBase.
MapUnitToGeoPoint(MapUnit) Converts the specified map unit into the corresponding geographical point. Inherited from LayerBase.
MapUnitToScreenPoint(MapUnit) Converts the specified map unit into the point on a screen. Inherited from LayerBase.
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. Inherited from LayerBase.
ScreenToGeoPoint(Point) Converts the specified screen point into the corresponding geographical point. Inherited from LayerBase.
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. Inherited from LayerBase.
See Also