From 3199bfe34285c03934048324c913bde15689cf45 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 6 Oct 2016 20:26:46 -0300 Subject: [PATCH] Seta o LAYER com STATUS ms_default em ogc.php --- ogc.php | 3 +++ temas/testewms.map | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ogc.php b/ogc.php index 635c5cb..7e62910 100755 --- a/ogc.php +++ b/ogc.php @@ -496,6 +496,9 @@ else{ if($temai3geo == false){ $l->set("status",MS_OFF); } + else{ + $l->set("status",MS_DEFAULT); + } $l->setmetadata("ows_title",pegaNome($l)); $l->setmetadata("ows_srs",$listaepsg); $l->set("group",""); diff --git a/temas/testewms.map b/temas/testewms.map index 502b9a9..f5e91a0 100755 --- a/temas/testewms.map +++ b/temas/testewms.map @@ -24,7 +24,7 @@ LAYER END # METADATA NAME "testewms" OFFSITE 255 255 255 - STATUS DEFAULT + STATUS OFF TILEITEM "location" TYPE RASTER UNITS METERS -- libgit2 0.21.2