diff --git a/mashups/openlayers.php b/mashups/openlayers.php index 69cb041..610c668 100755 --- a/mashups/openlayers.php +++ b/mashups/openlayers.php @@ -436,7 +436,8 @@ if($temas != ""){ $link_tema = $dadosTemas[$nomeLayer]; $link_tema = $link_tema["link_tema"]; $visivel = "false"; - if($l->status == MS_DEFAULT || in_array($tema,$visiveis)){ + //if($l->status == MS_DEFAULT || in_array($tema,$visiveis)){ + if(in_array($tema,$visiveis)){ $visivel = "true"; } if($l->type != 2 && $l->type != 3){ diff --git a/mashups/osm.php b/mashups/osm.php index 556d2a7..9a7fc8b 100755 --- a/mashups/osm.php +++ b/mashups/osm.php @@ -433,7 +433,8 @@ if($temas != ""){ $link_tema = $dadosTemas[$nomeLayer]; $link_tema = $link_tema["link_tema"]; $visivel = "false"; - if($l->status == MS_DEFAULT || in_array($tema,$visiveis)){ + //if($l->status == MS_DEFAULT || in_array($tema,$visiveis)){ + if(in_array($tema,$visiveis)){ $visivel = "true"; } if($l->type != 2 && $l->type != 3){ diff --git a/temas/_lbiomashp.map b/temas/_lbiomashp.map index a1f4959..7cc4608 100755 --- a/temas/_lbiomashp.map +++ b/temas/_lbiomashp.map @@ -38,7 +38,7 @@ MAP PROCESSING "ITEMS=CD_LEGENDA" PROCESSING "LABEL_NO_CLIP=True" PROCESSING "POLYLINE_NO_CLIP=True" - STATUS OFF + STATUS DEFAULT TEMPLATE "none.htm" TILEITEM "location" TYPE POLYGON diff --git a/temas/testewms.map b/temas/testewms.map index 2b388af..502b9a9 100755 --- a/temas/testewms.map +++ b/temas/testewms.map @@ -18,14 +18,13 @@ LAYER "wms_format" "image/png" "wms_connectiontimeout" "0" "wms_tile" "" - "tema" "Mapa Geomorfologico da Folha SE.23 - Belo Horizonte" + "tema" "Teste wms" "wms_server_version" "1.1.1" - "wms_crs" "EPSG:4326" "wms_style" "" END # METADATA NAME "testewms" OFFSITE 255 255 255 - STATUS OFF + STATUS DEFAULT TILEITEM "location" TYPE RASTER UNITS METERS -- libgit2 0.21.2