mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Merge branch 'release/3.0.0' of github.com:netzmacht/contao-leaflet-maps into release/3.0.0
This commit is contained in:
@@ -33,6 +33,7 @@ services:
|
||||
arguments:
|
||||
- '@netzmacht.contao_toolkit.dca.manager'
|
||||
- '@database_connection'
|
||||
- '@netzmacht.contao_toolkit.repository_manager'
|
||||
- '%netzmacht.contao_leaflet.controls%'
|
||||
|
||||
netzmacht.contao_leaflet.listeners.dca.layer:
|
||||
@@ -68,7 +69,7 @@ services:
|
||||
- '%netzmacht.contao_leaflet.icons%'
|
||||
|
||||
netzmacht.contao_leaflet.listeners.dca.style:
|
||||
class: Netzmacht\Contao\Leaflet\Listener\Dca\IconDcaListener
|
||||
class: Netzmacht\Contao\Leaflet\Listener\Dca\StyleDcaListener
|
||||
arguments:
|
||||
- '%netzmacht.contao_leaflet.styles%'
|
||||
|
||||
|
||||
@@ -128,8 +128,7 @@ class FileLayerMapper extends AbstractLayerMapper
|
||||
return parent::createInstance($model, $mapper, $request, $elementId);
|
||||
}
|
||||
|
||||
$customId = $layerId . '_data';
|
||||
$customLayer = new GeoJson($customId);
|
||||
$customLayer = new GeoJson($layerId);
|
||||
|
||||
$layer->setCustomLayer($customLayer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user