Files
contao-leaflet-maps/module/public/geojson.php

12 lines
347 B
PHP
Raw Normal View History

2015-01-06 14:55:53 +01:00
<?php
use Netzmacht\Contao\Leaflet\Controller\GeoJsonController;
define('TL_MODE', 'FE');
require(dirname(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])))) . '/initialize.php');
$container = $GLOBALS['container'];
$controller = new GeoJsonController($container['leaflet.map.service'], $container['input']);
echo $controller->execute();