mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 19:43:50 +01:00
Add standalone feature to the reference map.
This commit is contained in:
@@ -147,7 +147,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
||||
'+active' => array('deferred'),
|
||||
),
|
||||
'reference extends default' => array(
|
||||
'+title' => array('reference')
|
||||
'+title' => array('reference', 'standalone')
|
||||
)
|
||||
),
|
||||
|
||||
@@ -324,6 +324,15 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
||||
),
|
||||
'sql' => "int(10) unsigned NOT NULL default '0'",
|
||||
),
|
||||
'standalone' => array
|
||||
(
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['standalone'],
|
||||
'exclude' => true,
|
||||
'inputType' => 'checkbox',
|
||||
'default' => false,
|
||||
'eval' => array('tl_class' => 'w50', 'submitOnChange' => false, 'isBoolean' => true),
|
||||
'sql' => "char(1) NOT NULL default ''"
|
||||
),
|
||||
'onEachFeature' => array
|
||||
(
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['onEachFeature'],
|
||||
|
||||
Reference in New Issue
Block a user