From 57b15be22626c7adfb734e933e57a8e826b05b8a Mon Sep 17 00:00:00 2001 From: humano Date: Sun, 27 Oct 2019 09:33:42 -0500 Subject: [PATCH] quito el link de mostrar mas info en geojson --- funciones/funciones.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 0e4bef1..685f8c2 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -12657,7 +12657,7 @@ while( $row = mysqli_fetch_array( $sql ) ) { $propiedades['name'] = rand();; //$propiedades[description] ="
$formulario
"; //$propiedades['description'] ="$formulario
Mostrar todos Mostar solo este
"; - $propiedades['description'] ="$formulario"; + $propiedades['description'] =htmlspecialchars_decode($formulario); $propiedades['icon']['iconSize'] =[60]; //$propiedades[icon][shadowSize] =[70,70]; //$propiedades[icon][shadowUrl] = "https://raw.githubusercontent.com/humano/milfs/master/milfs/images/iconos/negro.png"; @@ -12671,8 +12671,8 @@ while( $row = mysqli_fetch_array( $sql ) ) { } //$propiedades[sounds] =""; //$propiedades[url] =''; - - $geometria .= "{\"type\":\"Feature\",\"geometry\":".json_encode($marcador,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT).",\"properties\":".json_encode($propiedades,JSON_NUMERIC_CHECK|JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT)."},"; +//$propiedades= html_entity_decode($propiedades); + $geometria .= "{\"type\":\"Feature\",\"geometry\":".json_encode($marcador,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE).",\"properties\":".json_encode($propiedades,JSON_NUMERIC_CHECK|JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_UNESCAPED_UNICODE|JSON_PRETTY_PRINT)."},"; $features[] = $marcador; $id++; @@ -12686,7 +12686,8 @@ header('Content-Type: text/plain'); //echo $consulta; $resultado = " { \"type\": \"FeatureCollection\", \"features\": "; -$resultado .= json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT); + //// $features= html_entity_decode($features); +$resultado .= json_encode($features,JSON_NUMERIC_CHECK|JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE); $resultado .= "}"; //echo $resultado; $geometria = substr("$geometria",0,-1);