tupali/milfs/geojson.php

21 lines
510 B
PHP
Raw Normal View History

2016-10-29 15:07:15 +00:00
<?php
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
require ('xajax/xajax.inc.php');
$xajax = new xajax();
require ('funciones/funciones.php');
require ('funciones/convert.php');
require ("funciones/conex.php");
if(!isset($_REQUEST['plantilla'])) {
2016-10-29 15:07:15 +00:00
$geojson = imprime_geojson("$_REQUEST[id]","","mapa","$_REQUEST[buscar]");
}else{
$geojson = imprime_geojson("$_REQUEST[id]","","$_REQUEST[plantilla]","$_REQUEST[buscar]");
}
2016-10-29 15:07:15 +00:00
//header('Content-Type: application/json');
echo $geojson;
?>