Skip to content

[Back to Parameters]

Geometry

Allows the user to create a geometry object, such as a point, line, arc, ellipse, etc.

Key Type Required Default Description UPM/TD
geometryEncoding enum:
fmeXML, geoJSON
❌ geoJSON The string format the geometry will be stored in. ✔
bounds obj ❌ ➖ The coordinates used to center the map picker on startup. ✔
supportedTypes arr(enum):
point, line,
polygon, box,
unspecified
❌ [] A list of supported geometry types. If empty, all types are allowed. ✔

bounds

Key Type Required Default Description UPM/TD
top int ✔ ➖ The northernmost coordinate of the bounds. ✔
bottom int ✔ ➖ The southernmost coordinate of the bounds. ✔
left int ✔ ➖ The westernmost coordinate of the bounds. ✔
right int ✔ ➖ The easternmost coordinate of the bounds. ✔

Example

{
  "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"
}