Commit bb7c0653069c35a4ed3225c3fe7469a2462b1191
1 parent
de406f06
Exists in
master
and in
7 other branches
Corrigida a função de localização de lugar. O "select option" estava com valor t…
…rocado e o zoom não estava funcionando corretamente
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
mobile/localizar.php
| @@ -116,6 +116,7 @@ if ($tipo == 'executa') | @@ -116,6 +116,7 @@ if ($tipo == 'executa') | ||
| 116 | if($tipo == "zoom") | 116 | if($tipo == "zoom") |
| 117 | { | 117 | { |
| 118 | $mapa = ms_newMapObj($tmpfname); | 118 | $mapa = ms_newMapObj($tmpfname); |
| 119 | + $i = $mapa->draw(); | ||
| 119 | $ext = $mapa->extent; | 120 | $ext = $mapa->extent; |
| 120 | $wkt = explode(",",$wkt); | 121 | $wkt = explode(",",$wkt); |
| 121 | $ext->setextent($wkt[0],$wkt[1],$wkt[2],$wkt[3]); | 122 | $ext->setextent($wkt[0],$wkt[1],$wkt[2],$wkt[3]); |
mobile/mobile.php
| @@ -182,7 +182,7 @@ if(!isset($maparef)){$maparef = "";} | @@ -182,7 +182,7 @@ if(!isset($maparef)){$maparef = "";} | ||
| 182 | <option value='desligar'>desligar camadas</option> | 182 | <option value='desligar'>desligar camadas</option> |
| 183 | <option value='adicionar'>adicionar camadas</option> | 183 | <option value='adicionar'>adicionar camadas</option> |
| 184 | <option value='legenda'>ver a legenda</option> | 184 | <option value='legenda'>ver a legenda</option> |
| 185 | - <option value='localizar lugares'>localizar</option> | 185 | + <option value='localizar'>localizar lugares</option> |
| 186 | </select> | 186 | </select> |
| 187 | </div> | 187 | </div> |
| 188 | <form id='f' action='mobile.php?' method='get'> | 188 | <form id='f' action='mobile.php?' method='get'> |