A SERVICE OF

logo

154 | Chapter 9 Enhanced Layer Functionality API Additions
Parameters
none
Returns
String – Represents the geometry function that is applied to layer features.
Returns an empty string if there is no geometry function.
Error Codes
-5 (Security Violation)
-15 (Does not apply)
-18 (Custom Spatial Query)
See Also
setGeometryFunction
setGeometryFunction Method
Syntax
boolean setGeometryFunction(String function)
Description
Sets the geometry function text to apply to the geometry column of the SDP
layer.
You can apply geometry functions directly to selected features on a layer. For
more information about using geometry functions, see “Using Geometry
Functions” on page 39.
Parameters
function – String representing the geometry function that you want to use.
Returns
boolean – Specifies whether or not the geometry function was successfully set.
True – Indicates that the geometry function was successfully set.