milfs/geojson.js.php

21 lines
684 B
PHP
Raw Permalink Normal View History

<?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');
2018-12-10 15:59:54 +00:00
include ('librerias/parsedown/Parsedown.php');
require ("funciones/conex.php");
2019-10-27 09:10:37 +00:00
if(isset($_REQUEST['buscar'])){$buscar=$_REQUEST['buscar'];}else{$buscar="";}
if(isset($_REQUEST['item'])){$item=$_REQUEST['item'];}else{$item="";}
if(isset($_REQUEST['id'])){$id=$_REQUEST['id'];}else{$id="";}
2020-05-04 15:27:21 +00:00
//echo print_r($_SERVER);
2019-10-27 09:10:37 +00:00
$geojson = imprime_geojson("$id","","mapa","$buscar","$item","");
//header('Content-Type: application/json');
2019-08-05 11:59:09 +00:00
echo "let geojsonSample = [";
echo $geojson;
2019-08-05 11:59:09 +00:00
echo "];"
2018-11-04 01:15:46 +00:00
?>