Commit 01a0596becc3e6779fc35f32d76cff22168dbdfe
1 parent
a19a556a
Exists in
master
and in
7 other branches
Troca de ->scale por ->scaledenom nos programas em PHP
Showing
3 changed files
with
2 additions
and
3 deletions
Show diff stats
classesphp/classe_legenda.php
| ... | ... | @@ -121,7 +121,6 @@ $template - nome do template para processar a legenda |
| 121 | 121 | {return;} |
| 122 | 122 | $this->mapa = ms_newMapObj($map_file); |
| 123 | 123 | $this->arquivo = $map_file; |
| 124 | - | |
| 125 | 124 | if($tema != "" && @$this->mapa->getlayerbyname($tema)) |
| 126 | 125 | { |
| 127 | 126 | $this->layer = $this->mapa->getlayerbyname($tema); | ... | ... |
classesphp/classe_mapa.php
| ... | ... | @@ -459,7 +459,7 @@ Include: |
| 459 | 459 | { |
| 460 | 460 | $nomer = $locmapserv."?map=".$this->arquivo."&mode=map&".nomeRandomico(); |
| 461 | 461 | } |
| 462 | - $res["mapscale"] = $this->mapa->scale; | |
| 462 | + $res["mapscale"] = $this->mapa->scaledenom; | |
| 463 | 463 | $res["mapres"] = $this->mapa->resolution; |
| 464 | 464 | $res["pixelsize"] = $this->mapa->cellsize; |
| 465 | 465 | $res["mapexten"] = $ext; | ... | ... |
classesphp/classe_vermultilayer.php