Fork de milfs para hacer limpieza de algunas cosas
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
659B

  1. <?php
  2. if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
  3. require ('xajax/xajax.inc.php');
  4. $xajax = new xajax();
  5. require ('funciones/funciones.php');
  6. require ('funciones/convert.php');
  7. include ('librerias/parsedown/Parsedown.php');
  8. require ("funciones/conex.php");
  9. if(isset($_REQUEST['buscar'])){$buscar=$_REQUEST['buscar'];}else{$buscar="";}
  10. if(isset($_REQUEST['item'])){$item=$_REQUEST['item'];}else{$item="";}
  11. if(isset($_REQUEST['id'])){$id=$_REQUEST['id'];}else{$id="";}
  12. $geojson = imprime_geojson("$id","","mapa","$buscar","$item","");
  13. //header('Content-Type: application/json');
  14. echo "let geojsonSample = [";
  15. echo $geojson;
  16. echo "];"
  17. ?>