1
0
forked from qwerty/milfs

Correccion item unico en geojson

This commit is contained in:
humano 2019-10-27 08:59:51 -05:00
parent 5c26be6718
commit 0ba0fdbdb6

View File

@ -12575,6 +12575,7 @@ function imprime_geojson($id,$id2,$plantilla,$busqueda,$item){
$campo2 = buscar_campo_tipo($id_form2,"14");
$id_campo = $campo[0];
$id_campo2 = $campo2[0];
$geometria ="";
$or_2 ="";
$w_id2="";
if($busqueda !="") {
@ -12670,7 +12671,7 @@ 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)."},";
$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)."},";
$features[] = $marcador;
$id++;