Discussions

Ask a Question
Back to All

Longitude and latitude

Hi Sacha,
The longitude and latitude are defined in the Address lookup. However when I click on the Geocode Address link the values are written like so: 51.9218244. When I edit, the value is turned into this: 51,9218244.... that value doesn't work in Google...

That's because the field is localised. I had the same issue. I guess you are using e EU culture?

nl-NL and en-GB

Admin

In templates to ensure the numbers are always writer with dots

{{formatnumber Address.latitude "" "invariant"}}

More info : https://opencontent.readme.io/v3.5/docs/tokens

Admin

The editor works transforms the numbers with the locale format

Marked as answered by Sacha Trauwaen

ο»Ώ