dundas.controls.MapViewportData Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.MapViewportData
 

Constructors

 
  Name Description
init Initializes the instance. Called during construction.
 
 

Properties

 
  Name Description
arrangedZoomLevel Gets the zoom level of the control when last arranged.
boundHeight Gets or sets the height of the viewport in map coordinates.
boundWidth Gets or sets the width of the viewport in map coordinates.
currentZoomLevel Gets or sets the current zoom level.
height Gets or sets the available height of the current viewport.
locationX Gets or sets the location of the left edge of the map content relative to the viewport.
locationY Gets or sets location of the top edge of the map content relative to the viewport.
oldX Gets or sets the old value of the left point of the viewport in pixels.
oldY Gets or sets the old value of the top point of the viewport in pixels.
oldZoomLevel Gets the previous zoom level.
serverContentZoomLevel Gets the zoom level of the control when server content was last loaded.
viewHeight Gets or sets the height of the zoomed-out content.
viewWidth Gets or sets the width of the zoomed-out content.
viewX Gets or sets the X map coordinate such as longitude (left most) of the map along the x-axis.
viewY Gets or sets the Y map coordinate such as latitude of the map along the y-axis.
width Gets or sets the available width of the current viewport.
x Gets or sets the value of the left point of the current viewport in pixels.
y Gets or sets the value of the top point of the current viewport in pixels.
zoomMouseXDistance Gets or sets distance of the mouse position used for zooming from the left border of the zoomed-out map content.
zoomMouseXPoint Gets or sets distance of the mouse position used for zooming from the viewport x position.
zoomMouseYDistance Gets or sets distance of the mouse position used for zooming from the top border of the zoomed-out map content.
zoomMouseYPoint Gets or sets distance of the mouse position used for zooming from the viewport y position.
zoomPercentage Gets or sets the zoom percentage that determines the amount of increase or decrease in zoom during scrolling.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.