mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #3266 from ekoyle/geoloc_docs_update
Add more info on geolocation resolution in docs
This commit is contained in:
@@ -12,6 +12,12 @@ $config['geoloc']['latlng'] = true;
|
||||
$config['geoloc']['engine'] = "google";//Only one available at present
|
||||
```
|
||||
|
||||
Location resolution happens as follows (when `$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)
|
||||
|
||||
Reference in New Issue
Block a user