Update Location field in Facility

#1

Is there a way to automatically update the latitude and longitude of a Facility based on its locations?

0 Likes

#2

On the type Location there are three methods called updateGeocoding(), updateGeocodingBatch() and updateGeocodingAll() that use the Location.address.raw and Google to get the latitude and longitude. Then the geometry of a Facility is calculated using placedAt latitude and longitude.

0 Likes