Search
MapView Members
Constructors Properties Methods Events
 


Represents a container for map layers.

The following tables list the members exposed by the MapView type.

 Public Constructors

  Name Description

MapView

Initializes a new instance of the MapView class.

 Public Properties

  Name Description

activeLayer

Gets or sets the active map layer.

allowPan

Gets or sets a value indicating whether drag panning is enabled.

allowZoom

Gets or sets a value indicating whether mouse wheel zooming is enabled.

decorations

Gets the default Decoration-s collection.

layers

Gets the collection of all layers added to this MapView.

mapBounds

Gets or sets the geographical bounds of the map.

mapCenter

Gets the geographical center of a loaded map.

mapLayers

Gets the collection of MapLayer-s.

maxZoomLevel

Gets or sets the maximum zoom of the map.

minZoomLevel

Gets or sets the minimum zoom of the map.

overlays

Gets the collection of DecorationLayer-s.

scrollX

Gets the map's horizontal scroll position relative to the control bounds.

scrollY

Gets the map's vertical scroll position relative to the control bounds.

showLayerController

Gets or sets the visibility of the built-in layer controller.

showZoomController

Gets or sets the visibility of the built-in zoom controller.

zoomPivot

Gets or sets the zoom pivot point of the mouse wheel zoom.

zoomStep

Gets or sets the zoom step.

 Public Methods

  Name Description

attach

Control.attach override.

clientToLatLong

Converts the specified client point to geographic coordinates.

detach

Control.detach override.

dispose

Control.dispose override.

draw

Control.draw override.

getDecorationsAt

Gets the list of Decoration instances at a specified client position.

latLongToClient

Converts the specified geographic coordinates to a client position.

load

Loads all layers.

loadOverlays

Loads decoration layers.

panTo

Pans the map to a new center location.

scrollBy

Scrolls the map by the specified amount.

scrollTo

Scrolls the map to a new center point.

 Public Events

  Name Description

click

Raised when the user clicks on the map surface.

decorationClick

Raised when the user clicks on a decoration element.

decorationHover

Raised when the user hovers over a decoration element.

hover

Raised when the user hovers over the map surface.

layerLoad

Raised when all tiles in a map layer are loaded.

viewLoad

Raised when map view layers are loaded.

 See Also