Commit 4b1860b0d1fe2ada4b1b883cfe0086e0420ec209
1 parent
c0e41477
Exists in
master
Seta o LAYER com STATUS ms_default em ogc.php
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
ogc.php
@@ -496,6 +496,9 @@ else{ | @@ -496,6 +496,9 @@ else{ | ||
496 | if($temai3geo == false){ | 496 | if($temai3geo == false){ |
497 | $l->set("status",MS_OFF); | 497 | $l->set("status",MS_OFF); |
498 | } | 498 | } |
499 | + else{ | ||
500 | + $l->set("status",MS_DEFAULT); | ||
501 | + } | ||
499 | $l->setmetadata("ows_title",pegaNome($l)); | 502 | $l->setmetadata("ows_title",pegaNome($l)); |
500 | $l->setmetadata("ows_srs",$listaepsg); | 503 | $l->setmetadata("ows_srs",$listaepsg); |
501 | $l->set("group",""); | 504 | $l->set("group",""); |