great feature! I wonder what format do you use? we (
https://welley.social) also have locations for posts and user profiles and it would be great to use some standard.
for posts we use the following structure:
"location": {
"type": "Place",
"name": "Googleplex",
"latitude": "37.422",
"longitude": "-122.0841",
"country": "USA",
"countryCode": "us",
"region": "California",
"locality": "Mountain View",
"street": "Amphitheatre Parkway",
"postalCode": "94043"
}
name is the address name, or the formatted address if there's no name. The coordinates are strings.
on user we use PropertyValue, i.e.
"attachment": [
...
{ "type": "PropertyValue", "name": "location", "value": "Split, Croatia" },
{ "type": "PropertyValue", "name": "timezone", "value": "Arctic/Longyearbyen" }
]