| Package | com.esri.aws.awx.map.projection |
| Interface | public interface IProjectionModel |
| Subinterfaces | IMap |
| Property | Defined by | ||
|---|---|---|---|
| center : GeoPoint
The geographic center of the map.
| IProjectionModel | ||
| extent : Extent
The bounding box (minX, minY, maxX, maxY) of the current map.
| IProjectionModel | ||
| mapRotation : Number
The rotation of the map.
| IProjectionModel | ||
| projectionID : int
The current projectionID of the map.
| IProjectionModel | ||
| scale : Number
The current scale of the map.
| IProjectionModel | ||
| Method | Defined by | ||
|---|---|---|---|
|
convertGeoPointToPoint(geoPoint:GeoPoint):Point
Converts decimal degree values to pixel.
| IProjectionModel | ||
|
convertPointToGeoPoint(point:Point):GeoPoint
Converts pixel values to decimal degrees.
| IProjectionModel | ||
|
resolveAutomaticProjection():Number
If the current projection is 'Automatic', returns the projectionID for which automatic projection is currently selected.
| IProjectionModel | ||
| center | property |
center:GeoPoint [read-write]The geographic center of the map.
Implementation public function get center():GeoPoint
public function set center(value:GeoPoint):void
| extent | property |
extent:Extent [read-write]The bounding box (minX, minY, maxX, maxY) of the current map.
Implementation public function get extent():Extent
public function set extent(value:Extent):void
| mapRotation | property |
mapRotation:Number [read-write]The rotation of the map.
Implementation public function get mapRotation():Number
public function set mapRotation(value:Number):void
| projectionID | property |
projectionID:int [read-write]The current projectionID of the map.
Implementation public function get projectionID():int
public function set projectionID(value:int):void
| scale | property |
scale:Number [read-write]The current scale of the map.
Implementation public function get scale():Number
public function set scale(value:Number):void
| convertGeoPointToPoint | () | method |
public function convertGeoPointToPoint(geoPoint:GeoPoint):PointConverts decimal degree values to pixel.
ParametersgeoPoint:GeoPoint — the lat/lon values to convert.
|
Point — pixel values of provided lat/lon.
|
| convertPointToGeoPoint | () | method |
public function convertPointToGeoPoint(point:Point):GeoPointConverts pixel values to decimal degrees.
Parameterspoint:Point — the pixel point to convert.
|
GeoPoint —
lat/lon values of provided pixel point.
|
| resolveAutomaticProjection | () | method |
public function resolveAutomaticProjection():NumberIf the current projection is 'Automatic', returns the projectionID for which automatic projection is currently selected.
ReturnsNumber — The projectionID (non 0).
|