Property Type: geometry
Geometry types store longitude latitude coordinates. There are two sub-types of Geo:
-
Point [x, y]
Two floats that represent a point (on a map or otherwise) -
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. |