Search
MapView Methods
 


 Public Methods

  Name Description

addEventListener

Registers a single event listener on the MapView.

create

Creates and initializes a new MapView from the specified element. This method is static and can be called without creating an instance of the class.

find

Returns the specified MapView object. This member is static and can be invoked without creating an instance of the class.

fromJson

Deserializes the view from a JSON string.

generate

Sends an AJAX request to the image generation service.

getScrollX

Gets the view's horizontal scroll position.

getScrollY

Gets the view's vertical scroll position.

getZoomFactor

Gets the zoom factor.

raiseEvent

Raises an event.

removeEventListener

Removes a single event listener attached to the MapView.

scrollTo

Scrolls the view to the specified point.

setZoomLevel

Sets the zoom factor.

toJson

Serializes the view into a JSON string.

 See Also