Can I override lat and long values?

Is it possible to override the latitude and longitude values of a location field?

Yes, you can override these values using the backend data browser.

4 Likes

@KobieBotha is there no way to do this programmatically, i.e. based on a user role set the longitude/latitude?

It is possible to do this programmatically as well, see the example:

var warehouse = DB.warehouse.first();
warehouse.location = {
    latitude: 36.43266,
    longitude: -99.43747
};
warehouse.save();