diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index bd5b726..6c662e2 100755 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -2771,7 +2771,9 @@ while( $row = mysql_fetch_array( $sql ) ) { //$propiedades[icon][shadowUrl] = "https://raw.githubusercontent.com/humano/milfs/master/milfs/images/iconos/negro.png"; //$propiedades[title] ='Hola mundo'; - //$propiedades[icon][iconUrl] = "https://raw.githubusercontent.com/humano/milfs/master/milfs/images/iconos/negro.png"; + if($propiedades[icon][iconUrl] =="") { + $propiedades[icon][iconUrl] = "https://raw.githubusercontent.com/humano/milfs/master/milfs/images/iconos/negro.png"; + } $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; diff --git a/milfs/images/iconos/negro.png b/milfs/images/iconos/negro.png index 36aaa67..710aa5a 100755 Binary files a/milfs/images/iconos/negro.png and b/milfs/images/iconos/negro.png differ