Files
contao-leaflet-maps/assets/geojson.php

12 lines
340 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');
2015-01-06 18:49:01 +01:00
require(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))) . '/system/initialize.php');
2015-01-06 14:55:53 +01:00
$container = $GLOBALS['container'];
$controller = new GeoJsonController($container['leaflet.map.service'], $container['input']);
2015-01-06 18:49:01 +01:00
$controller->execute();