Hide Comments
Hide Comments

WebOffice Script API- WebOffice mobile

Comments (0)

The WebOffice 10.9 SP2 Script API enables developers to control specific WebOffice 10.9 SP2 functions using JavaScript method calls. The file scriptapi.js, to be found in the directory <WebOffice application>\client_mobile\js\wo, contains all the functions that currently can be used.

 

Map

wo.scriptapi.mapUpdate();
Refresh map

wo.scriptapi.mapByCenterpointScale(fCenterX, fCenterY, iScale);
Request a new map by center point and scale

scriptAPI.mapByExtent(fMinX, fMinY, fMaxX, fMaxY);
Request a new map by extent values

scriptAPI.mapInfo();
Return basic information object about the map

Tool selection

wo.scriptapi.getActiveTool();
Get the currently activated tool

wo.scriptapi.getActiveCustomTool();
Get the currently activated custom tool

Filter

wo.scriptapi.filterAttributive(sExtCallLayerId, sKeyname, sKeyvalue, bDoQuery);
Perform attributive filtering

wo.scriptapi.resetFilterAttributive( sExtCallLayerId);
Reset attributive filtering

Comments (0)

Ⓒ Copyright 2022 by VertiGIS GmbH