Converts an absolute point in map units to a screen point
Namespace:
ESRI.ADF.UI
Syntax
function toScreenPoint ( point : Point ) : Object |
Parameters
- point
- Type: ESRI.ADF.Geometries..::.Point
Point to convert to screen coordinate
Return Value
Offset point in pixel units relative to the top left corner of the map view
Remarks
Returns an object with the following properties:
offsetX : Horizontal offset in pixels from the left side of the current map view
offsetY : Vertical offset in pixels from the top of the current map view