1
0
Fork 0

quito el link de mostrar mas info en geojson

This commit is contained in:
humano 2019-10-27 09:33:42 -05:00
parent 8508543081
commit 57b15be226
1 changed files with 5 additions and 4 deletions

View File

@ -12657,7 +12657,7 @@ while( $row = mysqli_fetch_array( $sql ) ) {
$propiedades['name'] = rand();;
//$propiedades[description] ="<div class='container-fluid' id='contenedor_datos' >$formulario</div>";
//$propiedades['description'] ="$formulario <div class='text-center mostrar_solo'><a class='btn btn-info btn-sm' href='?id=$row[id]'>Mostrar todos</a> <a class='btn btn-info btn-sm' href='?id=$row[id]&item=$row[control]'>Mostar solo este</a></div> ";
$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);