Geometry

Property Type: geometry

Geometry types store longitude latitude coordinates. There are two sub-types of Geo:

  1. Point [x, y] Two floats that represent a point (on a map or otherwise)

  2. Multi-Point [ Point, Point, Point, ...] an array of Points

Geometry types become very handy when you later want to check if a given x-y coordinate lies within the bounds of pre-defined area. For more info on this, see Geospatial Operators.

Property Options

Name

Type

Default

Description

geoType

string

"Point"

"Point" or "MultiPoint" stringEnum that defines what kind of coordinate data this prop will hold.

Last updated