Interaction with Geospatial Portal

Workflow Manager Developer Guide

HGD_Variant
15.00
HGD_Product
GeoMedia Smart Client
HGD_Portfolio_Suite
Platform

GSP.captureGeometry

  • Switches portal application into interactive editing mode. If active feature id is found portal will try to edit existing feature.
  • Otherwise new feature will be placed.
	<FormAction name="EditGeometry" action="SCRIPT[GSP.captureGeometry()]" />

GSP.setActiveFeature

Sets new active feature and its attributes.

 	<FormAction name="SetActiveFeature" action="SCRIPT[GSP.setActiveFeatures('Building Extension')]" />
 	<FormAction name="SetActiveFeature" action="SCRIPT[GSP.setActiveFeatures(13)]" />

GSP.clearActiveFeature

Clears any currently active features for this workflow.

	<FormAction name="ClearActiveFeature" action="SCRIPT[GSP.clearActiveFeatures()]" />

GSP.getActiveFeature

Returns feature that is currently active within the workflow.

 	<FormAction name="GetActiveFeature" action="SCRIPT[GSP.getActiveFeatures()]" />
 

GSP.setMapScale

Sets map scale.

	<FormAction name="SetMapScale" action="SCRIPT[GSP.setMapScale(1000)]" />
 

GSP.getMapScale

Gets the current map scale.

 	<FormAction name="GetMapScale" action="SCRIPT[GSP.getMapScale()]" />

GSP.bringToFront

Brings the workflow window to the front.

	<FormAction name="BringToFront" action="SCRIPT[GSP.bringToFront()]" />
 

GSP.bringToBack

Brings the workflow window to the back.

	<FormAction name="BringToBack" action="SCRIPT[GSP.bringToBack()]" />
 

GSP.setMapCenter

Sets map center.

	<FormAction name="SetMapCenter" action="SCRIPT[GSP.setMapCenter(latitude,longitude))]" />
 

GSP.setMapCenterAndScale

Sets MapCenter and a specific scale.

	<FormAction name="SetMapCenterAndScale" action="SCRIPT[GSP.setMapCenterAndScale(latitude,longitude,mapScale))]" />
 

GSP.getMapCenter

Gets the current map center.

	<FormAction name="GetMapCenter" action="SCRIPT[GSP.getMapCenter()]" />
 

GSP.setMapBounds

Sets the map bounds.

	<FormAction name="SetMapBounds" action="SCRIPT[GSP.setMapBounds(left,bottom,right,top)]" />