Disable default maps location
I have a few hundred devices that I will be working on adding sysLocation to. It'll take some time, but until that's done, is there any way to disable the default location for unknown location devices and still be able to see the one the map that do have sysLocation? Seeing all those in the middle of the Atlantic is a little useless to me :)
Thanks!
On 2013-11-06 20:02, Jason Lixfeld wrote:
I have a few hundred devices that I will be working on adding sysLocation to. It'll take some time, but until that's done, is there any way to disable the default location for unknown location devices and still be able to see the one the map that do have sysLocation? Seeing all those in the middle of the Atlantic is a little useless to me :)
I think you can /change/ where the default location is.
// Use defaults if empty values if (!strlen($location['location_lat'])) { $location['location_lat'] = $config['geocoding']['default']['lat']; } if (!strlen($location['location_lon'])) { $location['location_lon'] = $config['geocoding']['default']['lon']; }
You just set the default values to be some lat/lon in the config.
ada
participants (2)
-
Adam Armstrong
-
Jason Lixfeld