Geolocation Field - How to?

Hello all,

Can anyone explain a way to set up the Geolocation field? What I am attempting to do is make it so that the map will display another address field found in the DocType. I have looked at Geolocation field but it is not helping me understand the field very well.

Thanks as always. You guys are awesome!


Geolocation field stores Geojson featurecollection.
If you’re accessing the field from any other app, it is just like code field. It’ll store the stringified json.

It won’t automatically read text and show coordinates.

You’ll have to use some service/API to get coordinates of address and store it as one or more feature(s) in featurecollection.

Check agriculture module. It is using geolocation field.

1 Like

Thank you so much! I will check it out.

Exactly what I was looking for. Thanks again!