Commit db3e50b3746eb8f14a84ae140d36bea31ef11e89
1 parent
a3c28c9c
Exists in
master
and in
7 other branches
Correção na ferramenta de cálculo de área em função da mudança para openlayers 4
Showing
56 changed files
with
2 additions
and
2 deletions
Show diff stats
ferramentas/area/index.js
| ... | ... | @@ -174,7 +174,7 @@ i3GEOF.area = |
| 174 | 174 | var m = i3GEOF.area.openlayers, |
| 175 | 175 | sketch = evt.feature; |
| 176 | 176 | m.estilo = sketch.getStyle(); |
| 177 | - m.numpontos = 1; | |
| 177 | + m.numpontos = 2; | |
| 178 | 178 | m.featureListener = sketch.getGeometry().on('change', function(evt) { |
| 179 | 179 | var ponto, |
| 180 | 180 | geom = evt.target, |
| ... | ... | @@ -349,7 +349,7 @@ i3GEOF.area = |
| 349 | 349 | * Mostra o valor do trecho entre o ultimo ponto clicado e a posicao do mouse |
| 350 | 350 | */ |
| 351 | 351 | mostraParcial : function(trecho, per, area, direcao) { |
| 352 | - var mostra = $i("mostraarea_calculo_parcial"), texto; | |
| 352 | + var mostra = $i("mostraarea_calculo_parcial"), texto; | |
| 353 | 353 | if (mostra) { |
| 354 | 354 | texto = |
| 355 | 355 | "parcial <br>" + $trad("d21at") | ... | ... |
pacotes/yui290/build/container/container_compacto.js
100644 → 100755
pacotes/yui290/build/container/container_core_compacto.js
100644 → 100755
pacotes/yui290/build/utilities/utilities_compacto.js
100644 → 100755