Files
contao-leaflet-maps/assets/geojson.php
2015-01-06 18:49:01 +01:00

12 lines
340 B
PHP

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