dundas.controls.MapProjectionBase Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.MapProjectionBase
      dundas.controls.MapEquirectangularProjection
      dundas.controls.MapMercatorProjection
      dundas.controls.MapWebMercatorProjection
 

Constructors

 
  Name Description
init Initializes the map projection base class. The base projection works for Diagram type projection.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
fromMapPointToPixel Determine the Top-Left pixel of the viewport given the longitude and latitude of the point along with the width and height of the viewport.
fromPixelToMapPoint Determine the longitude and latitude based on the pixel representation of the Top-Left, width and height of the viewport.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.