Navigation:  Introduction to WebOffice map widget >

JavaScript Variables

Previous pageReturn to chapter overviewNext page

Following JavaScript variables can be adapted in global.js (client_mapwidget\Scripts\global.js):

 

ostd_mousewheel_direction = true: The mouse wheel's direction (if e.g. the parameter is set true: spinning the mouse wheel in the direction to the screen, means to Zoom In. The parameter set to false means the contrary.)

 

opanRatio = 0.3: Factor that is used when navigating the map extend in a specific direction (using the navigation panel).

 

ozoomRatio = 2: Factor that is used when zooming (using the navigation panel).

 

oborderOffset = 30: Distance from the map [pixel]

 

omenuOffset = 0: Distance between menu and map[pixel]

 

omenuItemWidth = 30: Width of tools in the toolbar [pixel]

 

omenuDiff = 5: Distance between tools and toolbar [pixel]

 

ocontextMenuOffset = 5: Distance of context menu and cross hair(necessary when using CREATEPOINT) [pixel]

 

ocursorDivWidth = 30: Width of cursor in the middle of the map (necessary when using CREATEPOINT and IDENTIFY) [pixel]

 

ocursorDivHeight = 30: Hight of cursor in the middle of the map (necessary when using CREATEPOINT and IDENTIFY) [pixel]

 

ocontextMenuWidth = 29: Width of context menu (necessary when using CREATEPOINT)

 

ocontextMenuHeight = 29: Hight of context menu (necessary when using CREATEPOINT)

 

omax_accuracy = 250: Maximal accuracy of the LOCATION Tool

 

ogpsScale = 1000: Used scale of GPS LOCATION Tool

 

olicenseTimeout = 30000: Timeout for checking license (value in ms)