ASP.NET Pack Programmer's Guide
MapView Members
Constructors Properties Methods Events
 


Renders the contents of a Map on a web page.

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 SlippyMap layer.

AddScriptReferences

Gets or sets a value indicating whether the control should render references to the client scripts.

AutoPostBack

Gets or sets a value indicating whether a postback to the server automatically occurs when the user clicks the map.

BackColor

Gets or sets the background color for the control.

BaseMap

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

Center

Gets or sets the geographical center of a SlippyTiles map.

ClientScriptLocation

Gets or sets the URL to the MindFusion.Mapping.js file.

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts.

ClientSideMode

Gets or sets the type of map rendered in the control.

ControlLoadedScript

Contains the name of a JavaScript function that should be invoked when the control is loaded on the client side.

ImageFormat

Gets or sets the format of the generated images, specified as a MIME type string.

ImageLocation

Gets/sets the name of the cached images folder.

ImageQuality

Gets or sets the quality of compressed images. Accepted values are between 1 and 100. A greater value yields an image of higher quality, but with lower compression.

JQueryLocation

Gets or sets the URL to the JQuery script file.

Layers

Gets the list of layers displayed in this view.

LicenseKey

Gets or sets the license key of the control.

MapBounds

Gets or sets the geographical bounds of a SlippyTiles map.

MaxImageSize

Specifies the size of the image tiles of the map.

MaxZoomFactor

The maximum zoom level allowed to set through this control.

MaxZoomLevel

Gets or sets the maximum zoom level of a SlippyTiles map.

MinZoomFactor

The minimum zoom level allowed to set through this control.

MinZoomLevel

Gets or sets the minimum zoom level of a SlippyTiles map.

MsAjaxLocation

Gets or sets the URL to the Microsoft Ajax script file.

ServiceLocation

Gets/sets the path to the image generating service.

SlippyClientScriptLocation

Gets or sets the URL to the MindFusion.Mapping.SlippyTiles.js file.

SlippyLayers

Gets the list of slippy tile layers displayed in this view.

SlippyMapLayers

Gets the list of slippy tile map layers displayed in this view.

SlippyOverlays

Gets the list of slippy tile decoration layers displayed in this view.

UseCachedImages

Specifies whether only cached image tiles will be used in rendering.

VirtualLocation

Gets/sets the path to the virtual directory.

ZoomFactor

Gets or sets the zoom factor used to scale up or down the diagram.

ZoomLevel

Gets or sets the zoom level of a SlippyTiles map.

 Public Methods

  Name Description

ClientToMap

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

GenerateCache

Creates cached images for the specified map file.

GenerateImages

Overloaded.  

GenerateMap

Creates a map from the specified JSON string.

GetScrollX

Implements IZoomTarget.GetScrollX.

GetScrollY

Implements IZoomTarget.GetScrollY.

GetZoomLevel

Implements IZoomTarget.GetZoomLevel.

GetZoomStep

Implements IZoomTarget.GetZoomStep.

LoadFromFile

Overloaded.  

LoadFromXml

Loads the map data from the specified ESRI map file.

LoadPostData

IPostBackDataHandler.LoadPostData implementation.

MapToClient

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

RaiseMapClicked

Raises the MapClick event.

RaiseMapElementClick

Raises the MapElementClick event.

RaisePostDataChangedEvent

IPostBackDataHandler.RaisePostDataChangedEvent implementation.

ScrollTo

Overloaded.  

SetScrollX

Implements IZoomTarget.SetScrollX.

SetScrollY

Implements IZoomTarget.SetScrollY.

SetZoomLevel

Implements IZoomTarget.SetZoomLevel.

SetZoomStep

Implements IZoomTarget.SetZoomStep.

 Protected Methods

  Name Description

OnMapElementClick

Raises the MapElementClick event.

OnPreRender

WebControl.OnPreRender override.

Render

WebControl.Render override.

RenderContents

WebControl.RenderContents override.

 Public Events

  Name Description

MapClick

Raised when the user clicks on the map surface.

MapElementClick

Raised when the user clicks a map element.

 See Also

MapView Class
MindFusion.Mapping.WebForms Namespace