Navigation:  Introduction to WebOffice map widget > Supported Parameters > Tool Parameters > activetools >

CREATEPOINT

Previous pageReturn to chapter overviewNext page

The parameter activetools=CREATEPOINT will display the create point tool.

 

Note: The parameters editlayerid, editkeyfield and editkeyvalue are obligatory to provide create point functionality in WebOffice map widget. Optionally the parameters editfields and editvalues can be used to edit more field values when creating a feature. The parameter snap can be used to activate a snap layer while editing.

 

CreatePoint Tool

CreatePoint Tool

 

Example:

http://w-vpc-kr-w7-e:8080/WO_10R3_SP2_latestBuild/client_mapwidget/default.jsp?baseURL=http://w-vpc-kr-w7-e:8080/WO_10R3_SP2_latestBuild&project=WebOffice_SampleProject_Doku&width=600&height=400&view=Edit&activetools=CREATEPOINT&editlayerid=cities&editkeyfield=CITY_NAME&editkeyvalue=Testcity&callback_createpoint=parent.createPointResult&

 

Example with snapping:

http://w-vpc-ts-w7-e/WebOfficeLatest/client_mapwidget/default.jsp?baseURL=http://w-vpc-ts-w7-e/WebOfficeLatest&project=World&width=600&height=400&combined_req=true&map_adv=true&maptransparency=1.0&mapmargin=1&activetools=CREATEPOINT&callback_createpoint=parent.createpointResult&editlayerid=edit_areas&editkeyfield=ID&editkeyvalue=901&snap=true

 

Note: The snapping tolerance can be configured in Snap Layers. If more than one snap points are within the snapping tolerance, the closest one will be taken into consideration and will be marked in orange.

 

Use snapping while editing

Use snapping while editing