Implement a file layer for gpx,kml,wkt support.

This commit is contained in:
David Molineus
2017-10-17 16:50:29 +02:00
parent 31a5cc40a5
commit d1f26056e9
9 changed files with 170 additions and 1 deletions

View File

@@ -45,6 +45,10 @@ parameters:
extend: true
fit: true
file:
children: false
icon: 'bundles/netzmachtcontaoleaflet/img/file.png'
services:
_defaults:
public: false

View File

@@ -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: