MindFusion WinForms Programmer's Guide
MapView Members
Constructors Properties Methods Events
 


A Windows Forms control used to draw maps.

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

BackColor

Gets or sets the background color for the control.

BaseMap

Gets or sets the Map displayed in the first layer of this view.

Behavior

Specifies how the view interprets mouse input.

LabelsOnTop

Gets or sets whether labels of map elements should be drawn after rendering all layers

Layers

Gets the list of layers displayed in this view.

LicenseKey

Gets or sets the license key of the control.

MaxImageSize

Specifies the size of the image tiles of the map. Image maps can be split into multuple images to avoid problems with large images.

ZoomFactor

Gets or sets the current zoom level.

 Public Methods

  Name Description

ClearCache

Clears cached bitmaps generated to represent current street-map.

ClientToMap

Converts a point from the control's client coordinates to map coordinates.

CreateImage

Overloaded.  

MapToClient

Converts a point from the map coordinates to control's client coordinates.

RaiseMapElementClick

Raises the MapElementClick event.

RaiseMapElementHover

Raises the MapElementHover event.

ScrollTo

Overloaded.  

SetZoomFactor

Sets the map zoom level.

Transform

Overloaded.  

 Protected Methods

  Name Description

OnBeginLoad

Raises the BeginLoad event.

OnEndLoad

Raises the EndLoad event.

OnMapElementClick

Raises the MapElementClick event.

OnMapElementHover

Raises the MapElementHover event.

OnMouseDown

Control.OnMouseDown override.

OnMouseMove

Control.OnMouseMove override.

OnMouseUp

Control.OnMouseUp override.

OnMouseWheel

Control.OnMouseWheel override.

OnPaint

Control.OnPaint override.

OnResize

Control.OnResize override.

 Public Events

  Name Description

MapElementClick

Raised when the user clicks a map element.

MapElementHover

Raised when the mouse rests over a map element.

 See Also

MapView Class
MindFusion.Mapping.WinForms Namespace