Commit 617a994f8f5aa6b0a5ae1648a27482c04f114644
1 parent
33997259
Exists in
master
Correção no uso do plugin markercluster e heatmap
Showing
5 changed files
with
10 additions
and
12 deletions
Show diff stats
classesjs/classe_plugini3geo.js
... | ... | @@ -614,8 +614,7 @@ i3GEO.pluginI3geo = |
614 | 614 | + "&g_sid=" |
615 | 615 | + i3GEO.configura.sid |
616 | 616 | + "&tipoEstilos=" |
617 | - + camada.plugini3geo.parametros.tipoEstilos | |
618 | - + "&nomevariavel=markercluster_dados&nomevariavelConfig=markercluster_config"; | |
617 | + + camada.plugini3geo.parametros.tipoEstilos; | |
619 | 618 | i3GEO.util.scriptTag(p, criaLayer, nomeScript); |
620 | 619 | } |
621 | 620 | }, |
... | ... | @@ -788,8 +787,7 @@ i3GEO.pluginI3geo = |
788 | 787 | + "&g_sid=" |
789 | 788 | + i3GEO.configura.sid |
790 | 789 | + "&tipoEstilos=" |
791 | - + camada.plugini3geo.parametros.tipoEstilos | |
792 | - + "&nomevariavel=markercluster_dados&nomevariavelConfig=markercluster_config"; | |
790 | + + camada.plugini3geo.parametros.tipoEstilos; | |
793 | 791 | i3GEO.util.scriptTag(p, criaLayer, nomeScript); |
794 | 792 | } |
795 | 793 | } | ... | ... |
ferramentas/heatmap/googlemaps_js.php
... | ... | @@ -34,8 +34,8 @@ if(isset($map_file) && isset($postgis_mapa) && $map_file != ""){ |
34 | 34 | restauraCon($map_file,$postgis_mapa); |
35 | 35 | } |
36 | 36 | |
37 | -echo $nomevariavel.' = ['.implode(",",$resultado).'];'; | |
38 | -echo $nomevariavelConfig.' = '.$gradiente.';'; | |
37 | +echo 'heatmap_dados = ['.implode(",",$resultado).'];'; | |
38 | +echo 'heatmap_config = '.$gradiente.';'; | |
39 | 39 | |
40 | 40 | if($carregajs === "sim"){ |
41 | 41 | include_once($dir."/../../pacotes/heatmap/src/heatmap.js"); | ... | ... |
ferramentas/heatmap/openlayers_js.php
... | ... | @@ -59,8 +59,8 @@ if(isset($map_file) && isset($postgis_mapa) && $map_file != ""){ |
59 | 59 | restauraCon($map_file,$postgis_mapa); |
60 | 60 | } |
61 | 61 | |
62 | -echo $nomevariavel.' = ['.implode(",",$resultado).'];'; | |
63 | -echo $nomevariavelConfig.' = '.$gradiente.';'; | |
62 | +echo 'heatmap_dados = ['.implode(",",$resultado).'];'; | |
63 | +echo 'heatmap_config = '.$gradiente.';'; | |
64 | 64 | |
65 | 65 | if($carregajs === "sim"){ |
66 | 66 | include_once($dir."/../../pacotes/heatmap/src/heatmap.js"); | ... | ... |
ferramentas/markercluster/googlemaps_js.php
... | ... | @@ -30,8 +30,8 @@ $map_file = markerclusterMapfile(); |
30 | 30 | $resultado = markerclusterDados($map_file); |
31 | 31 | $tipoEstilos = markerclusterEstilos($map_file,$layer,$tipoEstilos); |
32 | 32 | |
33 | -echo $nomevariavel.' = ['.implode(",",$resultado).'];'; | |
34 | -echo $nomevariavelConfig.' = '.$tipoEstilos.';'; | |
33 | +echo 'markercluster_dados = ['.implode(",",$resultado).'];'; | |
34 | +echo 'markercluster_config = '.$tipoEstilos.';'; | |
35 | 35 | |
36 | 36 | if($carregajs === "sim"){ |
37 | 37 | include_once($dir."/../../pacotes/markercluster/google/markerclusterer.js"); | ... | ... |
ferramentas/markercluster/openlayers_js.php
... | ... | @@ -46,8 +46,8 @@ if($map_file == ""){ |
46 | 46 | $resultado = markerclusterDados($map_file); |
47 | 47 | $tipoEstilos = markerclusterEstilos($map_file,$layer,$tipoEstilos); |
48 | 48 | |
49 | -echo $nomevariavel.' = ['.implode(",",$resultado).'];'; | |
50 | -echo $nomevariavelConfig.' = '.$tipoEstilos.';'; | |
49 | +echo 'markercluster_dados = ['.implode(",",$resultado).'];'; | |
50 | +echo 'markercluster_config = '.$tipoEstilos.';'; | |
51 | 51 | |
52 | 52 | if($carregajs === "sim"){ |
53 | 53 | include_once($dir."/../../pacotes/markercluster/openlayers/AnimatedCluster.js"); | ... | ... |