Add more info on geolocation resolution in docs

This commit is contained in:
Eldon Koyle
2016-03-18 16:55:34 -06:00
parent bcafac560c
commit 813912d085
+6
View File
@@ -12,6 +12,12 @@ $config['geoloc']['latlng'] = true;
$config['geoloc']['engine'] = "google";//Only one available at present
```
Location resolution happens as follows (iff `$config['geoloc']['latlng'] == true;`):
1. if `device['location']` contains `[lat, lng]` (note the square brackets), that is used
1. if there is a location overide in the `locations` table where `locations.location == device['location']`, that is used
* currently, no web UI
1. attempt to resolve lat, lng using `$config['geoloc']['engine']`
We have two current mapping engines available:
- Leaflet (default)