Support bounds changing after files got loaded.

This commit is contained in:
David Molineus
2017-10-17 17:43:12 +02:00
parent 01b3962b78
commit 46e6dcc2fa
6 changed files with 28 additions and 8 deletions

View File

@@ -48,6 +48,8 @@ parameters:
file:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/file.png'
boundsMode:
extend: true
services:
_defaults:

View File

@@ -219,7 +219,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [
],
'file extends default' => [
'+config' => ['file'],
'+config' => ['file', 'boundsMode'],
'+expert' => [
'onEachFeature',
'pointToLayer',

File diff suppressed because one or more lines are too long