PositionField
The position field has been present in MediaHaven from at least version 21.2
. In version 24.3
it has undergone a major overhaul to offer the end-user more control over it.
Introduction
The position field describes a position on the Earth’s surface. It is one of the Complex Fields extending the MapField
and consisting of several child fields describing the following properties of a position
The location, specified as the longitude and latitude on Earth’s surface, e.g.
51.235895,2.972828
The formatted address, e.g.
Zandstraat 10, 8450 Bredene, België
Parts of the address (country, city, street, etc)
Enhancement
The user can provide the location, formatted address, or both. When the location or formatted address is missing, the system automatically enhances the missing information using an external framework (Google Maps API).
From version 24.3
the enhancement will never overwrite the user-provided location or address, but keep them as is, even if the user-provided address is unknown to the Google Maps API.
User provides location | User provides address | Outcome |
---|---|---|
Yes | Yes |
|
No | Yes |
|
Yes | No |
|
No | No |
|
Structure
The PositionField
is a specialized version of a MapField
with the following child fields
Key | Type | Read-Only | Index Properties | Example |
---|---|---|---|---|
|
| Â | Index |
|
|
| Â | Index, Global, Tokenized |
|
|
| Â |
| |
|
|
| Â |
|
|
|
| Â |
|
|
|
| Â |
|
|
|
| Â |
|
|
|
| Â |
|
|
|
| Â |
|