Add dependency of contao-leaflet-libraries

This commit is contained in:
David Molineus
2015-01-10 13:11:09 +01:00
parent a9b6486af2
commit 2a2fa4cf64
14 changed files with 20 additions and 710 deletions

11
assets/maps/data.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
use Netzmacht\Contao\Leaflet\Controller\DataController;
define('TL_MODE', 'FE');
require(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))) . '/system/initialize.php');
$container = $GLOBALS['container'];
$controller = new DataController($container['leaflet.map.service'], $container['input']);
$controller->execute();