From 3fb7f76aea9ab8ed740942b891c98a64d8fbc304 Mon Sep 17 00:00:00 2001 From: Wheel Date: Thu, 29 Mar 2018 12:37:51 +0200 Subject: [PATCH] docs: Update World-Map doc with examples (#8488) --- doc/Extensions/World-Map.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/Extensions/World-Map.md b/doc/Extensions/World-Map.md index c4eddbdba8..e897fe0262 100644 --- a/doc/Extensions/World-Map.md +++ b/doc/Extensions/World-Map.md @@ -47,6 +47,14 @@ If you can't access OpenStreet map directly you can run a local [tile server](ht ```php $config['leaflet']['tile_url'] = 'localhost.com'; ``` +### Additional Leaflet config +```php +$config['map']['engine'] = "leaflet"; +$config['leaflet']['default_lat'] = "51.981074"; +$config['leaflet']['default_lng'] = "5.350342"; +$config['leaflet']['default_zoom'] = 8; +$config['leaflet']['group_radius'] = 1; // Device grouping radius in KM default 80KM +``` ### Jquery-Mapael config Further custom options are available to load different maps of the world, set default coordinates of where the map will zoom and the zoom level by default. An example of