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