getSessionInformation

This function returns all client side session information as an object type. This information is not the same as the information returned from the Dekho Web Service getSessionInfo however some of the information is duplicated.

Example call

To call the function from a module:

var sessionInfo : Object =  parentApplication.getSessionInformation();

Example result

The following lists the objects properties and data associated with it.

Function

Object Type

Object Properties

object.sessionId

 string

 the current session id of the Dekho client

object.applicationX

 number

 the x location of Dekho client. Used when Dekho is embedded in a Flex App.

object.applicationY

 number

 the y location of Dekho client. Used when Dekho is embedded in a Flex App.

object.applicationWidth

 number

 the width of the Dekho client

object.applicationHeight

 number

 the height of Dekho client

object.siteURL

 string

 the URL of the Dekho website

object.geometryService

 string

 the Geometry Web Service URL being used by Dekho client

object.mapId

 number

 the current map service id

object.aboutMessage

 string

 the text displayed in the About Form

object.scale

 number

 the current scale of the map

object.mapPixelHeight

 number

 the height of the map in pixels

object.mapPixelWidth

 number

 the width of the map in pixels

object.mapExtent

 array

 an array of the map extent (minx, miny, maxx, maxy)

object.applicationParameters

 string

 url query string parameters passed into Dekho

object.activeTool

 string

 name of the currently active tool

object.mapContainer

 object

 Flex canvas that contains the map


pixelToWorldCoordinates