mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-02 13:03:43 +01:00
Implement a file layer for gpx,kml,wkt support.
This commit is contained in:
@@ -45,6 +45,10 @@ parameters:
|
||||
extend: true
|
||||
fit: true
|
||||
|
||||
file:
|
||||
children: false
|
||||
icon: 'bundles/netzmachtcontaoleaflet/img/file.png'
|
||||
|
||||
services:
|
||||
_defaults:
|
||||
public: false
|
||||
|
||||
@@ -58,6 +58,10 @@ services:
|
||||
tags:
|
||||
- { name: netzmacht.contao_leflet_maps.mapper }
|
||||
|
||||
netzmacht.contao_leaflet.mapper.file_layer:
|
||||
class: Netzmacht\Contao\Leaflet\Mapper\Layer\FileLayerMapper
|
||||
tags:
|
||||
- { name: netzmacht.contao_leaflet.mapper }
|
||||
|
||||
# Control mappers
|
||||
netzmacht.contao_leaflet.mapper.zoom_control:
|
||||
|
||||
Reference in New Issue
Block a user