mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Use the geocode widget for the boundaries.
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
"php": ">=7.0",
|
||||
"contao/core-bundle": "~4.4",
|
||||
"netzmacht/contao-leaflet-libraries": "^1.0",
|
||||
"netzmacht/contao-leaflet-geocode-widget": "^1.2",
|
||||
"netzmacht/php-javascript-builder": "^1.0",
|
||||
"netzmacht/php-leaflet": "^1.0.2",
|
||||
"netzmacht/contao-toolkit": "~3.0@beta",
|
||||
|
||||
@@ -718,14 +718,14 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [
|
||||
'bounds' => [
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['bounds'],
|
||||
'exclude' => true,
|
||||
'inputType' => 'text',
|
||||
'inputType' => 'leaflet_geocode',
|
||||
'save_callback' => [
|
||||
],
|
||||
'eval' => [
|
||||
'maxlength' => 255,
|
||||
'multiple' => true,
|
||||
'size' => 2,
|
||||
'tl_class' => 'long clr',
|
||||
'tl_class' => 'clr',
|
||||
'nullIfEmpty' => true,
|
||||
],
|
||||
'sql' => 'mediumblob NULL',
|
||||
|
||||
@@ -347,13 +347,13 @@ $GLOBALS['TL_DCA']['tl_leaflet_vector'] = [
|
||||
'bounds' => [
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_vector']['bounds'],
|
||||
'exclude' => true,
|
||||
'inputType' => 'text',
|
||||
'inputType' => 'leaflet_geocode',
|
||||
'save_callback' => [],
|
||||
'eval' => [
|
||||
'maxlength' => 255,
|
||||
'multiple' => true,
|
||||
'size' => 2,
|
||||
'tl_class' => 'long clr',
|
||||
'tl_class' => 'clr',
|
||||
'nullIfEmpty' => true,
|
||||
],
|
||||
'sql' => 'mediumblob NULL',
|
||||
|
||||
Reference in New Issue
Block a user