Files
contao-leaflet-maps/src/Bundle/Resources/config/layers.yml

100 lines
3.0 KiB
YAML
Raw Normal View History

2017-10-06 10:07:19 +02:00
# Leaflet layer types.
#
# The type is used for the database driven definitions.
parameters:
netzmacht.contao_leaflet.layers:
2017-10-06 10:07:19 +02:00
provider:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/provider.png'
group:
children: true
icon: 'bundles/netzmachtcontaoleaflet/img/group.png'
markers:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/markers.png'
markers: true
boundsMode:
extend: true
fit: 'deferred'
vectors:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/vectors.png'
vectors: true
boundsMode:
extend: true
reference:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/reference.png'
markercluster:
children: true
2018-11-01 16:01:16 +01:00
icon: 'bundles/netzmachtcontaoleaflet/img/cluster.png'
2017-10-06 10:07:19 +02:00
tile:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/tile.png'
overpass:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/overpass.png'
boundsMode:
extend: true
fit: true
file:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/file.png'
boundsMode:
extend: true
2017-10-06 10:07:19 +02:00
services:
_defaults:
public: false
netzmacht.contao_leaflet.layer_label_renderer:
2017-10-06 10:07:19 +02:00
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\ChainRenderer
arguments:
- []
netzmacht.contao_leaflet.layer_label_renderer.markers:
2017-10-06 10:07:19 +02:00
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\MarkersLabelRenderer
arguments:
- '@netzmacht.contao_toolkit.repository_manager'
2017-10-06 10:07:19 +02:00
tags:
- { name: 'netzmacht.contao_leaflet.layer_label_renderer' }
2017-10-06 10:07:19 +02:00
netzmacht.contao_leaflet.layer_label_renderer.overpass:
2017-10-06 10:07:19 +02:00
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\OverpassLabelRenderer
tags:
- { name: 'netzmacht.contao_leaflet.layer_label_renderer' }
2017-10-06 10:07:19 +02:00
netzmacht.contao_leaflet.layer_label_renderer.provider:
2017-10-06 10:07:19 +02:00
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\ProviderLabelRenderer
tags:
- { name: 'netzmacht.contao_leaflet.layer_label_renderer' }
2017-10-06 10:07:19 +02:00
netzmacht.contao_leaflet.layer_label_renderer.reference:
2017-10-06 10:07:19 +02:00
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\ReferenceLabelRenderer
arguments:
- '@netzmacht.contao_toolkit.repository_manager'
2017-10-06 10:07:19 +02:00
tags:
- { name: 'netzmacht.contao_leaflet.layer_label_renderer' }
2017-10-06 10:07:19 +02:00
netzmacht.contao_leaflet.layer_label_renderer.vectors:
2017-10-06 10:07:19 +02:00
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\VectorsLabelRenderer
arguments:
- '@netzmacht.contao_toolkit.repository_manager'
2017-10-06 10:07:19 +02:00
tags:
- { name: 'netzmacht.contao_leaflet.layer_label_renderer' }
2017-10-17 18:18:33 +02:00
netzmacht.contao_leaflet.layer_label_renderer.file:
class: Netzmacht\Contao\Leaflet\Backend\Renderer\Label\Layer\FileLabelRenderer
arguments:
- '@netzmacht.contao_toolkit.repository_manager'
2017-10-17 18:18:33 +02:00
tags:
- { name: 'netzmacht.contao_leaflet.layer_label_renderer' }