docs: Update World-Map doc with examples (#8488)

This commit is contained in:
Wheel
2018-03-29 12:37:51 +02:00
committed by Neil Lathwood
parent 250b02fe23
commit 3fb7f76aea

View File

@ -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