Commit 00bdf66a121f2887bcc2af06dc1788e4c45b8a8a
1 parent
9168cb2d
Exists in
master
and in
7 other branches
Correção na montagem da legenda para cartogramas vindos do saiku
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
ferramentas/saiku/cartograma.php
@@ -132,6 +132,9 @@ else{ | @@ -132,6 +132,9 @@ else{ | ||
132 | if($ll->getmetadata("tema") == "Limites"){ | 132 | if($ll->getmetadata("tema") == "Limites"){ |
133 | $ll->set("status",MS_DELETE); | 133 | $ll->set("status",MS_DELETE); |
134 | } | 134 | } |
135 | + if(strtoupper($ll->getmetadata("classe")) == "NAO" || $ll->getmetadata("classe") == ""){ | ||
136 | + $ll->set("status",MS_DELETE); | ||
137 | + } | ||
135 | } | 138 | } |
136 | 139 | ||
137 | $layer = ms_newLayerObj($mapa); | 140 | $layer = ms_newLayerObj($mapa); |
@@ -229,6 +232,7 @@ else{ | @@ -229,6 +232,7 @@ else{ | ||
229 | $mapa->save($map_file); | 232 | $mapa->save($map_file); |
230 | } | 233 | } |
231 | } | 234 | } |
235 | + | ||
232 | header("Location:".$opcoes["locaplic"]."/mashups/openlayers.php?temas=".$map_file."&DESLIGACACHE=sim&botoes=legenda,pan,zoombox,zoomtot,zoomin,zoomout,distancia,area,identifica&controles=navigation,layerswitcher,scaleline,mouseposition,overviewmap,keyboarddefaults&tiles=false&mapext=".$opcoes["mapext"]); | 236 | header("Location:".$opcoes["locaplic"]."/mashups/openlayers.php?temas=".$map_file."&DESLIGACACHE=sim&botoes=legenda,pan,zoombox,zoomtot,zoomin,zoomout,distancia,area,identifica&controles=navigation,layerswitcher,scaleline,mouseposition,overviewmap,keyboarddefaults&tiles=false&mapext=".$opcoes["mapext"]); |
233 | 237 | ||
234 | function mapaBarras($colunas){ | 238 | function mapaBarras($colunas){ |