[Back to Parameters]
Geometry
Allows user to create a geometry object, such as point, line, arc, ellipse, etc
Specification
key |
type |
required |
default value |
description |
geometryEncoding |
enum: 'fmeXML' , 'geoJSON' |
no |
'geoJSON' |
Indicate the string format the geometry will be stored in. |
bounds |
dictionary |
no |
n/a |
The coordinates used to center the map picker on startup. |
supportedTypes |
array\: ['point', 'line', 'polygon'] |
no |
n/a |
A list of supported geometry types. If not specified or empty then all types are allowed. |
bounds
key |
type |
required |
description |
top |
integer |
yes |
The nothernmost coordinate of the bounds. |
bottom |
integer |
yes |
The southernmost coordinate of the bounds. |
left |
integer |
yes |
The westernmost coordinate of the bounds. |
right |
integer |
yes |
The easternmost coordinate of the bounds. |
Examples
{
"bounds": {
"bottom": 90,
"left": -180,
"right": 180,
"top": -90
},
"name": "GEOM",
"prompt": "Geometry Pick:",
"required": true,
"supportedTypes": [
"point",
"line",
"box",
"polygon"
],
"type": "geometry",
"valueType": "stringEncoded"
}