Skip to content

Geolocation field

The Geolocation field is used to represent a location with longitude and a latitude value in documents.

Properties

Setting Required Description
Label Yes The label is used for users of BizzStream. The label is shown in documents left to the value of the field. Labels can always be edited.
Translation key No Can be used to replace the field label with a translation. If set, BizzStream will try find the translation associated with the key set in this field. If no translation can be found, the label set in the Label field will be used.
Name Yes The name is a BizzStream system field. Once the Document Definition is persisted, this field cannot be edited anymore. Unless there are no documents based on this document definition.

How the data is stored

The field Geolocation will be saved in the database as follows:

"geolocationField": {
    longitude: 4.829168900000013,
    latitude: 52.3431438
}