Commit 15a5e127864d479d0f6a9f4521008d480b2e0049
1 parent
99a4d32e
Exists in
master
and in
7 other branches
Correcao na funcao de inclusao de camada WMS-T no mapa
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
classesphp/classe_mapa.php
... | ... | @@ -306,6 +306,10 @@ string - javascript com os parametros |
306 | 306 | $wmstile = ""; |
307 | 307 | if($ct == 7 && strtoupper($oLayer->getmetadata("cache")) != "SIM"){ |
308 | 308 | $wmsurl = ($oLayer->connection)."&layers=".($oLayer->getmetadata("wms_name"))."&style=".($oLayer->getmetadata("wms_style")); |
309 | + $tempo = $oLayer->getmetadata("wms_time"); | |
310 | + if($tempo != ""){ | |
311 | + $wmsurl .= "&TIME=".$tempo; | |
312 | + } | |
309 | 313 | $wmsformat = $oLayer->getmetadata("wms_format"); |
310 | 314 | $wmssrs = $oLayer->getmetadata("wms_srs"); |
311 | 315 | $wmstile = $oLayer->getmetadata("wms_tile"); | ... | ... |