ASP.NET Pack Programmer's Guide
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.

bounds

Gets the bounds of this Control. (Inherited from Control.)

cssClass

Gets or sets the css class of the control. (Inherited from Control.)

data

Gets or sets an object, holding custom user data. (Inherited from Control.)

decorations

Gets the default Decoration-s collection.

element

Gets a reference to the control's element. (Inherited from Control.)

enabled

Gets or sets a value indicating whether user interactions are allowed for this control. (Inherited from Control.)

height

Gets or sets the height of this control. (Inherited from Control.)

layers

Gets the collection of all layers added to this MapView.

left

Gets or sets the X-coordinate of the location of this Control. (Inherited from Control.)

licenseLocation

Gets or sets the URL of the control's license file. (Inherited from Control.)

loaded

Gets a value indicating whether this control is loaded and ready for interaction. (Inherited from Control.)

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.

rect

Gets the bounding rect of this control. (Inherited from Control.)

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.

theme

Gets or sets the current theme of the Control. (Inherited from Control.)

top

Gets or sets the Y-coordinate of the location of this Control. (Inherited from Control.)

visible

Gets or sets the visibility of this Control. (Inherited from Control.)

width

Gets or sets the width of this Control. (Inherited from Control.)

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

Dispose the Control. (Inherited from Control.)

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.

render

Draws the control and prepares it for user interaction. (Inherited from Control.)

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.

controlLoad

Raised when the Control is loaded. (Inherited from Control.)

controlUnload

Raised when the Control is unloaded. (Inherited from Control.)

decorationClick

Raised when the user clicks on a decoration element.

decorationHover

Raised when the user hovers over a decoration element.

focus

Raised when the Control is focused. (Inherited from Control.)

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

MapView Class
MindFusion.Mapping Namespace