Commit d4c08aa9f6ef4c9314ef2bb57ce1da844324055f
1 parent
a2209496
Exists in
master
and in
7 other branches
ticket #495
Showing
1 changed file
with
9 additions
and
3 deletions
Show diff stats
ferramentas/legenda/index.js.php
... | ... | @@ -308,7 +308,7 @@ i3GEOF.legenda = { |
308 | 308 | ' </ul>'+ |
309 | 309 | '</div><br>'+ |
310 | 310 | '<div id=i3GEOlegendaguia6obj style="width:99%;text-align:left;">'+ |
311 | - ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendamostra style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:2px;">Mostra as classes desse tema na legenda do mapa</span></p>' + | |
311 | + ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendamostra style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:-2px;">Mostra as classes desse tema na legenda do mapa</span></p>' + | |
312 | 312 | ' <p class=paragrafo ><input id=i3GEOlegendabotao3 type="button" value="Inclui número de ocorrências" title="incluir o número de ocorrências no nome de cada classe"></p>' + |
313 | 313 | ' <p class=paragrafo ><input id=i3GEOlegendabotao15 type="button" value="Aplica opacidade variável" title="aplicar opacidade nas classes existente, variando de 10 até 100"></p>' + |
314 | 314 | ' <p class=paragrafo ><input id=i3GEOlegendabotaoRamp type="button" size=15 value="Escolher paleta de cores" title="escolher e aplicar as variações de cores, entre dois extremos, nas classes existentes"></p>' + |
... | ... | @@ -341,7 +341,7 @@ i3GEOF.legenda = { |
341 | 341 | ' </div>'+ |
342 | 342 | '</div>'+ |
343 | 343 | '<div id=i3GEOlegendaguia2obj style="width:99%;text-align:left;">'+ |
344 | - ' <p class=paragrafo style="color:red;" >Atenção: para a montagem das classes são considerados apenas os elementos visíveis na extensão atual do mapa</p>'+ | |
344 | + ' <p class=paragrafo > <input type=checkbox onclick="" checked id=i3GEOFlegendaaplicaextent style="cursor:pointer;border:0px solid white;" /> <span style="cursor:pointer;position:relative;top:-2px;">marque para considerar apenas os elementos visíveis na extensão geográfica atual, caso contrário, será considerada a extensão geográfica inicial do mapa</span></p>' + | |
345 | 345 | ' <p class=paragrafo >Ao gerar as classes, ignorar os valores (separe com vírgula):<br>'+ |
346 | 346 | $inputText("","","i3GEOlegendaignorar","",20,"") + |
347 | 347 | ' <hr><p class=paragrafo >Transforma a representação geométrica dos elementos do tema. Após alterar esse parâmetro, pode ser necessário modificar as características do símbolo.</p>'+ |
... | ... | @@ -990,12 +990,18 @@ i3GEOF.legenda = { |
990 | 990 | if(i3GEOF.legenda.aguarde.visibility === "visible") |
991 | 991 | {return;} |
992 | 992 | var item = $i("i3GEOlegendaSelItem").value, |
993 | - p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=alteraclasse&tema="+i3GEOF.legenda.tema+"&item="+item+"&opcao=valorunico&ignorar="+$i("i3GEOlegendaignorar").value+"&ext="+i3GEO.parametros.mapexten, | |
993 | + p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=alteraclasse&tema="+i3GEOF.legenda.tema+"&item="+item+"&opcao=valorunico&ignorar="+$i("i3GEOlegendaignorar").value, | |
994 | 994 | cp = new cpaint(), |
995 | 995 | fim = function(){ |
996 | 996 | i3GEOF.legenda.aposAlterarLegenda(); |
997 | 997 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
998 | 998 | }; |
999 | + if($i("i3GEOFlegendaaplicaextent").checked === true){ | |
1000 | + p += "&ext="+i3GEO.parametros.mapexten; | |
1001 | + } | |
1002 | + else{ | |
1003 | + p += "&ext="+i3GEO.parametros.extentTotal; | |
1004 | + } | |
999 | 1005 | if (item == "") |
1000 | 1006 | {alert("Selecione um item!");return;} |
1001 | 1007 | i3GEOF.legenda.aguarde.visibility = "visible"; | ... | ... |