Commit 238ca3be184a9b047e863e42303844385c161bf5
1 parent
28660a55
Exists in
master
i3geo/i3geo#92 Balão de info continua ativo ao abrir editor vetorial
Showing
46 changed files
with
7 additions
and
0 deletions
Show diff stats
ferramentas/selecao/index.js
@@ -63,6 +63,9 @@ i3GEOF.selecao = | @@ -63,6 +63,9 @@ i3GEOF.selecao = | ||
63 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.selecao.dicionario); | 63 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.selecao.dicionario); |
64 | dicionario["locaplic"] = i3GEO.configura.locaplic; | 64 | dicionario["locaplic"] = i3GEO.configura.locaplic; |
65 | dicionario["p8"] = $trad("p8"); | 65 | dicionario["p8"] = $trad("p8"); |
66 | + if(i3GEO.Interface.ATUAL === "googlemaps"){ | ||
67 | + dicionario["i3GEOselecaoboxHidden"] = "hidden"; | ||
68 | + } | ||
66 | return dicionario; | 69 | return dicionario; |
67 | }, | 70 | }, |
68 | /* | 71 | /* |
@@ -334,6 +337,7 @@ i3GEOF.selecao = | @@ -334,6 +337,7 @@ i3GEOF.selecao = | ||
334 | "i3GEOF.tabela.atualizaListaDeRegistros()" | 337 | "i3GEOF.tabela.atualizaListaDeRegistros()" |
335 | ]); | 338 | ]); |
336 | } | 339 | } |
340 | + i3GEO.eventos.cliquePerm.desativa(); | ||
337 | i3GEO.eventos.executaEventos(i3GEO.eventos.SELECAO); | 341 | i3GEO.eventos.executaEventos(i3GEO.eventos.SELECAO); |
338 | }, | 342 | }, |
339 | /* | 343 | /* |
@@ -610,6 +614,9 @@ i3GEOF.selecao = | @@ -610,6 +614,9 @@ i3GEOF.selecao = | ||
610 | maxPoints : 1 | 614 | maxPoints : 1 |
611 | }); | 615 | }); |
612 | i3GEOF.selecao.clique.ol3.draw.on("drawend",function(evt){ | 616 | i3GEOF.selecao.clique.ol3.draw.on("drawend",function(evt){ |
617 | + if (typeof (console) !== 'undefined') | ||
618 | + console.info("i3GEOF.selecao.clique.ol3.draw.on('drawend'"); | ||
619 | + | ||
613 | var geo, ponto = evt.feature.getGeometry(); | 620 | var geo, ponto = evt.feature.getGeometry(); |
614 | if ($i("i3GEOFselecaoMantemFigura").checked === true) { | 621 | if ($i("i3GEOFselecaoMantemFigura").checked === true) { |
615 | evt.feature.setProperties({origem : "i3GEOFselecao"}); | 622 | evt.feature.setProperties({origem : "i3GEOFselecao"}); |