Implement user locate.

This commit is contained in:
David Molineus
2015-01-24 11:38:15 +01:00
parent 83b6870538
commit 4c6f731d99
5 changed files with 216 additions and 56 deletions

View File

@@ -282,7 +282,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_control'] = array
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_control']['layer'],
'exclude' => true,
'inputType' => 'select',
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Control', 'getLayers'),
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Layer', 'getLayers'),
'eval' => array(
'style' => 'width: 300px',
'chosen' => true,