17 lines
410 B
PHP
17 lines
410 B
PHP
|
<?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");
|
||
|
|
||
|
|
||
|
|
||
|
$geojson = imprime_geojson("$_REQUEST[id]","","mapa","$_REQUEST[buscar]");
|
||
|
//header('Content-Type: application/json');
|
||
|
echo "var geojsonSample = ";
|
||
|
echo $geojson;
|
||
|
echo ";"
|
||
|
?>
|