Commit 4589fa5ccc334a75909cc831d1f341cab2ef4422
1 parent
970a8c13
Exists in
master
and in
7 other branches
Inclusão da opção de seleção por retângulo na ferramenta de seleção
Showing
9 changed files
with
422 additions
and
28 deletions
Show diff stats
classesjs/funcoes.js
| ... | ... | @@ -516,7 +516,7 @@ function wdocaf(wlargura,waltura,wsrc,nx,ny,texto) |
| 516 | 516 | $i("wdocai").src = ""; |
| 517 | 517 | YAHOO.util.Event.removeListener(YAHOO.janelaDoca.xp.panel.close, "click"); |
| 518 | 518 | YAHOO.janelaDoca.xp.panel.destroy(); |
| 519 | - if ((g_tipoacao == "inseregrafico") || (g_tipoacao == "selecao") || (g_tipoacao == "inserexy") || (g_tipoacao == "textofid")) | |
| 519 | + if ((g_tipoacao == "selecaobox") || (g_tipoacao == "inseregrafico") || (g_tipoacao == "selecao") || (g_tipoacao == "inserexy") || (g_tipoacao == "textofid")) | |
| 520 | 520 | {mudaiconf("pan");} |
| 521 | 521 | //esconde o box do google |
| 522 | 522 | if ($i("boxg")) |
| ... | ... | @@ -621,7 +621,7 @@ function wdocafechaf(odoca) |
| 621 | 621 | $i("wdocai").src = ""; |
| 622 | 622 | $i("imgh").style.visibility="visible"; |
| 623 | 623 | } |
| 624 | - if ((g_tipoacao == "inseregrafico") || (g_tipoacao == "selecao") || (g_tipoacao == "inserexy") || (g_tipoacao == "textofid")) | |
| 624 | + if ((g_tipoacao == "selecaobox") || (g_tipoacao == "inseregrafico") || (g_tipoacao == "selecao") || (g_tipoacao == "inserexy") || (g_tipoacao == "textofid")) | |
| 625 | 625 | {mudaiconf("pan");} |
| 626 | 626 | } |
| 627 | 627 | /* |
| ... | ... | @@ -1016,7 +1016,7 @@ function ativaClicks(docMapa) |
| 1016 | 1016 | } |
| 1017 | 1017 | movelentef(); //move a lente de aumento |
| 1018 | 1018 | //desloca cursor de zoom box |
| 1019 | - if ((g_tipoacao == "zoomli") && ($i("box1").style.visibility == "visible")) | |
| 1019 | + if (((g_tipoacao == "zoomli") || (g_tipoacao == "selecaobox")) && ($i("box1").style.visibility == "visible")) | |
| 1020 | 1020 | {zoomboxf("desloca");} |
| 1021 | 1021 | } |
| 1022 | 1022 | } |
| ... | ... | @@ -1030,7 +1030,7 @@ function ativaClicks(docMapa) |
| 1030 | 1030 | { |
| 1031 | 1031 | $i("imgh").style.display="none"; |
| 1032 | 1032 | //verifica se esta na op�o de zoom box |
| 1033 | - if (g_tipoacao == "zoomli") | |
| 1033 | + if ((g_tipoacao == "zoomli") || (g_tipoacao == "selecaobox")) | |
| 1034 | 1034 | { |
| 1035 | 1035 | // inicia ret�gulo de zoom |
| 1036 | 1036 | $i("imgh").style.display="none"; |
| ... | ... | @@ -1187,6 +1187,7 @@ function ativaClicks(docMapa) |
| 1187 | 1187 | docMapa.onmouseup = function() |
| 1188 | 1188 | { |
| 1189 | 1189 | if (g_tipoacao == "zoomli"){zoomboxf("termina");} |
| 1190 | + if (g_tipoacao == "selecaobox"){zoomboxf("termina");} | |
| 1190 | 1191 | if ($i("img") && (g_tipoacao == "pan")) |
| 1191 | 1192 | { |
| 1192 | 1193 | g_panM = "nao"; |
| ... | ... | @@ -1561,16 +1562,40 @@ function zoomboxf (tipo) |
| 1561 | 1562 | y2 = (amext[3] * 1) - ny; |
| 1562 | 1563 | v = x2+" "+y2+" "+x1+" "+y1; |
| 1563 | 1564 | // se o retangulo for negativo pula essa parte para n� gerar erro |
| 1564 | - if (x1 != x2) | |
| 1565 | + if (g_tipoacao != "selecaobox") | |
| 1565 | 1566 | { |
| 1566 | - objmapa.extent=v; | |
| 1567 | - objaguarde.abre("ajaxredesenha","Aguarde..."); | |
| 1568 | - var p = g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+v+"&g_sid="+g_sid; | |
| 1569 | - var cp = new cpaint(); | |
| 1570 | - //cp.set_debug(2) | |
| 1571 | - cp.set_response_type("JSON"); | |
| 1572 | - cp.call(p,"mudaExtensao",ajaxredesenha); | |
| 1567 | + if (x1 != x2) | |
| 1568 | + { | |
| 1569 | + objmapa.extent=v; | |
| 1570 | + objaguarde.abre("ajaxredesenha","Aguarde..."); | |
| 1571 | + var p = g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+v+"&g_sid="+g_sid; | |
| 1572 | + var cp = new cpaint(); | |
| 1573 | + //cp.set_debug(2) | |
| 1574 | + cp.set_response_type("JSON"); | |
| 1575 | + cp.call(p,"mudaExtensao",ajaxredesenha); | |
| 1576 | + } | |
| 1573 | 1577 | } |
| 1578 | + else | |
| 1579 | + { | |
| 1580 | + if (x1 != x2) | |
| 1581 | + { | |
| 1582 | + var doc = (navm) ? document.frames("wdocai").document : $i("wdocai").contentDocument; | |
| 1583 | + var tipo = "adiciona"; | |
| 1584 | + //pega o tipo de operacao da janela de selecao | |
| 1585 | + if (doc.getElementById("tipoOperacao")){tipo = doc.getElementById("tipoOperacao").value;} | |
| 1586 | + if (objmapa.temaAtivo == ""){alert("Nenhum tema ativo");return;} | |
| 1587 | + //se tipo for limpa ou inverte, a operacao nao e executada no clique no mapa | |
| 1588 | + if ((tipo != "limpa") && (tipo != "inverte")) | |
| 1589 | + { | |
| 1590 | + objaguarde.abre("ajaxredesenha","Aguarde..."); | |
| 1591 | + var p = g_locaplic+"/classesphp/mapa_controle.php?funcao=selecaobox&ext="+v+"&g_sid="+g_sid+"&tipo="+tipo+"&tema="+objmapa.temaAtivo; | |
| 1592 | + var cp = new cpaint(); | |
| 1593 | + //cp.set_debug(2) | |
| 1594 | + cp.set_response_type("JSON"); | |
| 1595 | + cp.call(p,"selecaobox",ajaxredesenha); | |
| 1596 | + } | |
| 1597 | + } | |
| 1598 | + } | |
| 1574 | 1599 | with(bx.style){visibility="hidden";width = 0; height = 0;} |
| 1575 | 1600 | document.getElementById("imgh").style.display="block"; |
| 1576 | 1601 | break; | ... | ... |
classesjs/funcoes_compacto.js
| ... | ... | @@ -43,7 +43,7 @@ function mensagemf(m){ if(!$i("mensagem")){ var novoel=document.createElement("d |
| 43 | 43 | function wdocaf(wlargura,waltura,wsrc,nx,ny,texto){ if($i("boxg")){$i("boxg").style.display="none";} |
| 44 | 44 | var wlargura_=parseInt(wlargura)+0+"px"; YAHOO.namespace("janelaDoca.xp"); if(YAHOO.janelaDoca.xp.panel){ YAHOO.janelaDoca.xp.panel.destroy(); YAHOO.namespace("janelaDoca.xp");} |
| 45 | 45 | if(!$i("wdoca")){ var novoel=document.createElement("div"); novoel.id="wdoca"; novoel.style.display="none"; var ins='<div class="hd"><div class="tl"></div>'; ins+='<div class="tr"></div></div><div class="bd" style="scrollbar-arrow-color:white;scrollbar-base-color:white;scrollbar-darkshadow-color:white;scrollbar-face-color:white;scrollbar-highlight-color:white;scrollbar-shadow-color:white;" >'; ins+='<iframe name=wdocai id=wdocai valign="top" style="border:0px white solid"></iframe></div>'; novoel.innerHTML=ins; document.body.appendChild(novoel);} |
| 46 | - $i("wdocai").src=""; YAHOO.janelaDoca.xp.panel=new YAHOO.widget.ResizePanel("wdoca",{width:wlargura_, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false}); YAHOO.janelaDoca.xp.panel.moveTo(imagemxi,imagemyi+50); YAHOO.janelaDoca.xp.panel.render(); YAHOO.janelaDoca.xp.panel.show(); var escondeWdoca=function(){ $i("wdoca").style.display="none"; $i("wdocai").src=""; YAHOO.util.Event.removeListener(YAHOO.janelaDoca.xp.panel.close, "click"); YAHOO.janelaDoca.xp.panel.destroy(); if((g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");} | |
| 46 | + $i("wdocai").src=""; YAHOO.janelaDoca.xp.panel=new YAHOO.widget.ResizePanel("wdoca",{width:wlargura_, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false}); YAHOO.janelaDoca.xp.panel.moveTo(imagemxi,imagemyi+50); YAHOO.janelaDoca.xp.panel.render(); YAHOO.janelaDoca.xp.panel.show(); var escondeWdoca=function(){ $i("wdoca").style.display="none"; $i("wdocai").src=""; YAHOO.util.Event.removeListener(YAHOO.janelaDoca.xp.panel.close, "click"); YAHOO.janelaDoca.xp.panel.destroy(); if((g_tipoacao=="selecaobox")||(g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");} | |
| 47 | 47 | if($i("boxg")){$i("boxg").style.display="none";}} |
| 48 | 48 | YAHOO.util.Event.addListener(YAHOO.janelaDoca.xp.panel.close, "click", escondeWdoca); with($i("wdocai").style){width="100%";height=waltura;}; if(navn){with($i("wdocai").style){width="100%";height=parseInt(waltura)-20+"px";overflow="-moz-scrollbars-vertical;overflow-x:scroll"};} |
| 49 | 49 | $i("wdoca").style.display="block"; $i("wdocai").src=wsrc;} |
| ... | ... | @@ -57,7 +57,7 @@ function wdocafechaf(odoca){ $i(odoca).style.display="none"; if((odoca !="wdocar |
| 57 | 57 | if($i("wdocadiv")){$i("wdocadiv").innerHTML="";$i("wdocadiv").display="none";} |
| 58 | 58 | if($i("temp")){$i("temp").value=="";} |
| 59 | 59 | $i("wdocai").src=""; $i("imgh").style.visibility="visible";} |
| 60 | - if((g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");}} | |
| 60 | + if((g_tipoacao=="selecaobox")||(g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");}} | |
| 61 | 61 | function ajudaf(evt){ if(navn){ var tecla=evt.keyCode ? evt.keyCode : evt.charCode ? evt.charCode : evt.which ? evt.which : void 0;} |
| 62 | 62 | if(navm){var tecla=evt.keyCode;} |
| 63 | 63 | if(evt=="abre"){ s=g_locaplic+"/ajuda/"+g_hlpt+".htm"; wdocaf("400px","300px",s,"","","Ajuda"); return;} |
| ... | ... | @@ -104,9 +104,9 @@ function ativaClicks(docMapa){ docMapa.onmouseover=function(){ if($i("imgh")){$i |
| 104 | 104 | if(g_tipoacao=="mede"){ $i("mostradistancia").style.display="block"; var n=pontosdistobj.xpt.length; if(n > 0){ var d=calculadistancia(pontosdistobj.xpt[n-1],pontosdistobj.ypt[n-1],objposicaocursor.ddx,objposicaocursor.ddy); if(objmapa.scale > 500000){ var d=parseInt(d);} |
| 105 | 105 | else{ d=d+""; d=d.split("."); var decimal=d[1].substr(0,3); d=d[0]+"."+decimal; d=d*1;} |
| 106 | 106 | var da=d+pontosdistobj.dist[n-1]; if($i("mostradistancia")){$i("mostradistancia").innerHTML=" Dist acum.="+da+" atual="+d+" km";}}} |
| 107 | - movelentef(); if((g_tipoacao=="zoomli")&&($i("box1").style.visibility=="visible")){zoomboxf("desloca");}}} | |
| 107 | + movelentef(); if(((g_tipoacao=="zoomli")||(g_tipoacao=="selecaobox"))&&($i("box1").style.visibility=="visible")){zoomboxf("desloca");}}} | |
| 108 | 108 | docMapa.onmouseout=function(){ objmapa.parado="parar"; mostradicasf(this,''); if($i("imgh")){$i("imgh").style.display="none";}} |
| 109 | - docMapa.onmousedown=function(){ $i("imgh").style.display="none"; if(g_tipoacao=="zoomli"){ $i("imgh").style.display="none"; with($i("box1").style){width=0;height=0;visibility="visible";} | |
| 109 | + docMapa.onmousedown=function(){ $i("imgh").style.display="none"; if((g_tipoacao=="zoomli")||(g_tipoacao=="selecaobox")){ $i("imgh").style.display="none"; with($i("box1").style){width=0;height=0;visibility="visible";} | |
| 110 | 110 | boxxini=objposicaocursor.telax; boxyini=objposicaocursor.telay; tamanhox=0; tamanhoy=0;} |
| 111 | 111 | if($i("img")&&(g_tipoacao=="pan")){ g_panM="sim"; leftinicial=parseInt($i("corpoMapa").style.left); topinicial=parseInt($i("corpoMapa").style.top); clicinicialx=objposicaocursor.imgx; clicinicialy=objposicaocursor.imgy; ddinicialx=objposicaocursor.ddx; ddinicialy=objposicaocursor.ddy;}} |
| 112 | 112 | docMapa.onclick=function(){ if(g_tipoacao=="identifica"){ wdocaf("450px","250px",g_locaplic+'/ferramentas/identifica/index.htm?&x='+objposicaocursor.ddx+'&y='+objposicaocursor.ddy+'&escala='+objmapa.scale,"","","Identifica");} |
| ... | ... | @@ -130,6 +130,7 @@ function ativaClicks(docMapa){ docMapa.onmouseover=function(){ if($i("imgh")){$i |
| 130 | 130 | if((tipo !="limpa")&&(tipo !="inverte")){ objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=selecaopt&tema="+objmapa.temaAtivo+"&tipo="+tipo+"&xy="+objposicaocursor.ddx+" "+objposicaocursor.ddy+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"selecaoPT",ajaxredesenha);}} |
| 131 | 131 | objmapa.verificaClickMapa();} |
| 132 | 132 | docMapa.onmouseup=function(){ if(g_tipoacao=="zoomli"){zoomboxf("termina");} |
| 133 | + if(g_tipoacao=="selecaobox"){zoomboxf("termina");} | |
| 133 | 134 | if($i("img")&&(g_tipoacao=="pan")){ g_panM="nao"; var disty=(ddinicialy*-1)+objposicaocursor.ddy; var distx=(ddinicialx*-1)+objposicaocursor.ddx; var ex=objmapa.extent; var ex=ex.split(" "); var novoxi=(ex[0]*1)-distx; var novoxf=(ex[2]*1)-distx; var novoyi=(ex[1]*1)-disty; var novoyf=(ex[3]*1)-disty; if((distx==0)||(disty==0)){ objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=pan&x="+objposicaocursor.imgx+"&y="+objposicaocursor.imgy+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"pan",ajaxredesenha); return;} |
| 134 | 135 | var nex=novoxi+" "+novoyi+" "+novoxf+" "+novoyf; objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+nex+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"mudaExtensao",ajaxredesenha);}}} |
| 135 | 136 | function initJanelaZoom(qual){ if((qual==1)&&(!$i("maisBotoes1"))){ var novoel=document.createElement("div"); novoel.id="janelaBotoes1"; novoel.style.display="block"; if(navm){novoel.style.filter='alpha(opacity=90)';} |
| ... | ... | @@ -168,7 +169,10 @@ function zoomboxf(tipo){ var bx=$i("box1"); switch(tipo){ case "desloca": ppx=ob |
| 168 | 169 | if(py > boxyini){with(bx.style){height=py-boxyini-2;}} |
| 169 | 170 | if(ppx < boxxini){with(bx.style){left=ppx;width=boxxini-ppx+2;}} |
| 170 | 171 | if(py < boxyini){with(bx.style){top=py;height=boxyini-py+2;}}} |
| 171 | - break; case "termina": md=1; eval('pix=parseInt(document.getElementById("box1").style.'+g_tipoleft+")"); eval('piy=parseInt(document.getElementById("box1").style.'+g_tipotop+")"); xfig0=parseInt(bx.style.width)-imagemxi; yfig0=parseInt(bx.style.height)-imagemyi; xfig=pix+(parseInt(bx.style.width))-imagemxi; yfig=piy+(parseInt(bx.style.height))-imagemyi; amext=objmapa.extent.split(" "); dx=((amext[0]*-1)-(amext[2]*-1))/(tamanhox-1); dy=((amext[1]*1)-(amext[3]*1))/(tamanhoy-1); if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x1=(amext[0]*1)+nx; y1=(amext[3]*1)-ny; xfig=pix-imagemxi; yfig=piy-imagemyi; if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x2=(amext[0]*1)+nx; y2=(amext[3]*1)-ny; v=x2+" "+y2+" "+x1+" "+y1; if(x1 !=x2){ objmapa.extent=v; objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+v+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"mudaExtensao",ajaxredesenha);} | |
| 172 | + break; case "termina": md=1; eval('pix=parseInt(document.getElementById("box1").style.'+g_tipoleft+")"); eval('piy=parseInt(document.getElementById("box1").style.'+g_tipotop+")"); xfig0=parseInt(bx.style.width)-imagemxi; yfig0=parseInt(bx.style.height)-imagemyi; xfig=pix+(parseInt(bx.style.width))-imagemxi; yfig=piy+(parseInt(bx.style.height))-imagemyi; amext=objmapa.extent.split(" "); dx=((amext[0]*-1)-(amext[2]*-1))/(tamanhox-1); dy=((amext[1]*1)-(amext[3]*1))/(tamanhoy-1); if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x1=(amext[0]*1)+nx; y1=(amext[3]*1)-ny; xfig=pix-imagemxi; yfig=piy-imagemyi; if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x2=(amext[0]*1)+nx; y2=(amext[3]*1)-ny; v=x2+" "+y2+" "+x1+" "+y1; if(g_tipoacao !="selecaobox"){ if(x1 !=x2){ objmapa.extent=v; objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+v+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"mudaExtensao",ajaxredesenha);}} | |
| 173 | + else{ if(x1 !=x2){ var doc=(navm)? document.frames("wdocai").document : $i("wdocai").contentDocument; var tipo="adiciona"; if(doc.getElementById("tipoOperacao")){tipo=doc.getElementById("tipoOperacao").value;} | |
| 174 | + if(objmapa.temaAtivo==""){alert("Nenhum tema ativo");return;} | |
| 175 | + if((tipo !="limpa")&&(tipo !="inverte")){ objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=selecaobox&ext="+v+"&g_sid="+g_sid+"&tipo="+tipo+"&tema="+objmapa.temaAtivo; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"selecaobox",ajaxredesenha);}}} | |
| 172 | 176 | with(bx.style){visibility="hidden";width=0;height=0;} |
| 173 | 177 | document.getElementById("imgh").style.display="block"; break;}} |
| 174 | 178 | function zoomPonto(){ if($i("xg")){ var xxx=convdmsddf($i("xg").value,$i("xm").value,$i("xs").value); var yyy=convdmsddf($i("yg").value,$i("ym").value,$i("ys").value); objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=zoomponto&pin=pin&xy="+xxx+" "+yyy+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"zoomPonto",ajaxredesenha);}} | ... | ... |
classesjs/i3geo_tudo_compacto.js
| ... | ... | @@ -803,7 +803,7 @@ function mensagemf(m){ if(!$i("mensagem")){ var novoel=document.createElement("d |
| 803 | 803 | function wdocaf(wlargura,waltura,wsrc,nx,ny,texto){ if($i("boxg")){$i("boxg").style.display="none";} |
| 804 | 804 | var wlargura_=parseInt(wlargura)+0+"px"; YAHOO.namespace("janelaDoca.xp"); if(YAHOO.janelaDoca.xp.panel){ YAHOO.janelaDoca.xp.panel.destroy(); YAHOO.namespace("janelaDoca.xp");} |
| 805 | 805 | if(!$i("wdoca")){ var novoel=document.createElement("div"); novoel.id="wdoca"; novoel.style.display="none"; var ins='<div class="hd"><div class="tl"></div>'; ins+='<div class="tr"></div></div><div class="bd" style="scrollbar-arrow-color:white;scrollbar-base-color:white;scrollbar-darkshadow-color:white;scrollbar-face-color:white;scrollbar-highlight-color:white;scrollbar-shadow-color:white;" >'; ins+='<iframe name=wdocai id=wdocai valign="top" style="border:0px white solid"></iframe></div>'; novoel.innerHTML=ins; document.body.appendChild(novoel);} |
| 806 | - $i("wdocai").src=""; YAHOO.janelaDoca.xp.panel=new YAHOO.widget.ResizePanel("wdoca",{width:wlargura_, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false}); YAHOO.janelaDoca.xp.panel.moveTo(imagemxi,imagemyi+50); YAHOO.janelaDoca.xp.panel.render(); YAHOO.janelaDoca.xp.panel.show(); var escondeWdoca=function(){ $i("wdoca").style.display="none"; $i("wdocai").src=""; YAHOO.util.Event.removeListener(YAHOO.janelaDoca.xp.panel.close, "click"); YAHOO.janelaDoca.xp.panel.destroy(); if((g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");} | |
| 806 | + $i("wdocai").src=""; YAHOO.janelaDoca.xp.panel=new YAHOO.widget.ResizePanel("wdoca",{width:wlargura_, fixedcenter: false, constraintoviewport: false, underlay:"none", close:true, visible:true, draggable:true, modal:false}); YAHOO.janelaDoca.xp.panel.moveTo(imagemxi,imagemyi+50); YAHOO.janelaDoca.xp.panel.render(); YAHOO.janelaDoca.xp.panel.show(); var escondeWdoca=function(){ $i("wdoca").style.display="none"; $i("wdocai").src=""; YAHOO.util.Event.removeListener(YAHOO.janelaDoca.xp.panel.close, "click"); YAHOO.janelaDoca.xp.panel.destroy(); if((g_tipoacao=="selecaobox")||(g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");} | |
| 807 | 807 | if($i("boxg")){$i("boxg").style.display="none";}} |
| 808 | 808 | YAHOO.util.Event.addListener(YAHOO.janelaDoca.xp.panel.close, "click", escondeWdoca); with($i("wdocai").style){width="100%";height=waltura;}; if(navn){with($i("wdocai").style){width="100%";height=parseInt(waltura)-20+"px";overflow="-moz-scrollbars-vertical;overflow-x:scroll"};} |
| 809 | 809 | $i("wdoca").style.display="block"; $i("wdocai").src=wsrc;} |
| ... | ... | @@ -817,7 +817,7 @@ function wdocafechaf(odoca){ $i(odoca).style.display="none"; if((odoca !="wdocar |
| 817 | 817 | if($i("wdocadiv")){$i("wdocadiv").innerHTML="";$i("wdocadiv").display="none";} |
| 818 | 818 | if($i("temp")){$i("temp").value=="";} |
| 819 | 819 | $i("wdocai").src=""; $i("imgh").style.visibility="visible";} |
| 820 | - if((g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");}} | |
| 820 | + if((g_tipoacao=="selecaobox")||(g_tipoacao=="inseregrafico")||(g_tipoacao=="selecao")||(g_tipoacao=="inserexy")||(g_tipoacao=="textofid")){mudaiconf("pan");}} | |
| 821 | 821 | function ajudaf(evt){ if(navn){ var tecla=evt.keyCode ? evt.keyCode : evt.charCode ? evt.charCode : evt.which ? evt.which : void 0;} |
| 822 | 822 | if(navm){var tecla=evt.keyCode;} |
| 823 | 823 | if(evt=="abre"){ s=g_locaplic+"/ajuda/"+g_hlpt+".htm"; wdocaf("400px","300px",s,"","","Ajuda"); return;} |
| ... | ... | @@ -864,9 +864,9 @@ function ativaClicks(docMapa){ docMapa.onmouseover=function(){ if($i("imgh")){$i |
| 864 | 864 | if(g_tipoacao=="mede"){ $i("mostradistancia").style.display="block"; var n=pontosdistobj.xpt.length; if(n > 0){ var d=calculadistancia(pontosdistobj.xpt[n-1],pontosdistobj.ypt[n-1],objposicaocursor.ddx,objposicaocursor.ddy); if(objmapa.scale > 500000){ var d=parseInt(d);} |
| 865 | 865 | else{ d=d+""; d=d.split("."); var decimal=d[1].substr(0,3); d=d[0]+"."+decimal; d=d*1;} |
| 866 | 866 | var da=d+pontosdistobj.dist[n-1]; if($i("mostradistancia")){$i("mostradistancia").innerHTML=" Dist acum.="+da+" atual="+d+" km";}}} |
| 867 | - movelentef(); if((g_tipoacao=="zoomli")&&($i("box1").style.visibility=="visible")){zoomboxf("desloca");}}} | |
| 867 | + movelentef(); if(((g_tipoacao=="zoomli")||(g_tipoacao=="selecaobox"))&&($i("box1").style.visibility=="visible")){zoomboxf("desloca");}}} | |
| 868 | 868 | docMapa.onmouseout=function(){ objmapa.parado="parar"; mostradicasf(this,''); if($i("imgh")){$i("imgh").style.display="none";}} |
| 869 | - docMapa.onmousedown=function(){ $i("imgh").style.display="none"; if(g_tipoacao=="zoomli"){ $i("imgh").style.display="none"; with($i("box1").style){width=0;height=0;visibility="visible";} | |
| 869 | + docMapa.onmousedown=function(){ $i("imgh").style.display="none"; if((g_tipoacao=="zoomli")||(g_tipoacao=="selecaobox")){ $i("imgh").style.display="none"; with($i("box1").style){width=0;height=0;visibility="visible";} | |
| 870 | 870 | boxxini=objposicaocursor.telax; boxyini=objposicaocursor.telay; tamanhox=0; tamanhoy=0;} |
| 871 | 871 | if($i("img")&&(g_tipoacao=="pan")){ g_panM="sim"; leftinicial=parseInt($i("corpoMapa").style.left); topinicial=parseInt($i("corpoMapa").style.top); clicinicialx=objposicaocursor.imgx; clicinicialy=objposicaocursor.imgy; ddinicialx=objposicaocursor.ddx; ddinicialy=objposicaocursor.ddy;}} |
| 872 | 872 | docMapa.onclick=function(){ if(g_tipoacao=="identifica"){ wdocaf("450px","250px",g_locaplic+'/ferramentas/identifica/index.htm?&x='+objposicaocursor.ddx+'&y='+objposicaocursor.ddy+'&escala='+objmapa.scale,"","","Identifica");} |
| ... | ... | @@ -890,6 +890,7 @@ function ativaClicks(docMapa){ docMapa.onmouseover=function(){ if($i("imgh")){$i |
| 890 | 890 | if((tipo !="limpa")&&(tipo !="inverte")){ objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=selecaopt&tema="+objmapa.temaAtivo+"&tipo="+tipo+"&xy="+objposicaocursor.ddx+" "+objposicaocursor.ddy+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"selecaoPT",ajaxredesenha);}} |
| 891 | 891 | objmapa.verificaClickMapa();} |
| 892 | 892 | docMapa.onmouseup=function(){ if(g_tipoacao=="zoomli"){zoomboxf("termina");} |
| 893 | + if(g_tipoacao=="selecaobox"){zoomboxf("termina");} | |
| 893 | 894 | if($i("img")&&(g_tipoacao=="pan")){ g_panM="nao"; var disty=(ddinicialy*-1)+objposicaocursor.ddy; var distx=(ddinicialx*-1)+objposicaocursor.ddx; var ex=objmapa.extent; var ex=ex.split(" "); var novoxi=(ex[0]*1)-distx; var novoxf=(ex[2]*1)-distx; var novoyi=(ex[1]*1)-disty; var novoyf=(ex[3]*1)-disty; if((distx==0)||(disty==0)){ objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=pan&x="+objposicaocursor.imgx+"&y="+objposicaocursor.imgy+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"pan",ajaxredesenha); return;} |
| 894 | 895 | var nex=novoxi+" "+novoyi+" "+novoxf+" "+novoyf; objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+nex+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"mudaExtensao",ajaxredesenha);}}} |
| 895 | 896 | function initJanelaZoom(qual){ if((qual==1)&&(!$i("maisBotoes1"))){ var novoel=document.createElement("div"); novoel.id="janelaBotoes1"; novoel.style.display="block"; if(navm){novoel.style.filter='alpha(opacity=90)';} |
| ... | ... | @@ -928,7 +929,10 @@ function zoomboxf(tipo){ var bx=$i("box1"); switch(tipo){ case "desloca": ppx=ob |
| 928 | 929 | if(py > boxyini){with(bx.style){height=py-boxyini-2;}} |
| 929 | 930 | if(ppx < boxxini){with(bx.style){left=ppx;width=boxxini-ppx+2;}} |
| 930 | 931 | if(py < boxyini){with(bx.style){top=py;height=boxyini-py+2;}}} |
| 931 | - break; case "termina": md=1; eval('pix=parseInt(document.getElementById("box1").style.'+g_tipoleft+")"); eval('piy=parseInt(document.getElementById("box1").style.'+g_tipotop+")"); xfig0=parseInt(bx.style.width)-imagemxi; yfig0=parseInt(bx.style.height)-imagemyi; xfig=pix+(parseInt(bx.style.width))-imagemxi; yfig=piy+(parseInt(bx.style.height))-imagemyi; amext=objmapa.extent.split(" "); dx=((amext[0]*-1)-(amext[2]*-1))/(tamanhox-1); dy=((amext[1]*1)-(amext[3]*1))/(tamanhoy-1); if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x1=(amext[0]*1)+nx; y1=(amext[3]*1)-ny; xfig=pix-imagemxi; yfig=piy-imagemyi; if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x2=(amext[0]*1)+nx; y2=(amext[3]*1)-ny; v=x2+" "+y2+" "+x1+" "+y1; if(x1 !=x2){ objmapa.extent=v; objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+v+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"mudaExtensao",ajaxredesenha);} | |
| 932 | + break; case "termina": md=1; eval('pix=parseInt(document.getElementById("box1").style.'+g_tipoleft+")"); eval('piy=parseInt(document.getElementById("box1").style.'+g_tipotop+")"); xfig0=parseInt(bx.style.width)-imagemxi; yfig0=parseInt(bx.style.height)-imagemyi; xfig=pix+(parseInt(bx.style.width))-imagemxi; yfig=piy+(parseInt(bx.style.height))-imagemyi; amext=objmapa.extent.split(" "); dx=((amext[0]*-1)-(amext[2]*-1))/(tamanhox-1); dy=((amext[1]*1)-(amext[3]*1))/(tamanhoy-1); if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x1=(amext[0]*1)+nx; y1=(amext[3]*1)-ny; xfig=pix-imagemxi; yfig=piy-imagemyi; if(dy < 0)dy=dy*-1; nx=g_celula*xfig; ny=g_celula*yfig; x2=(amext[0]*1)+nx; y2=(amext[3]*1)-ny; v=x2+" "+y2+" "+x1+" "+y1; if(g_tipoacao !="selecaobox"){ if(x1 !=x2){ objmapa.extent=v; objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=mudaext&ext="+v+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"mudaExtensao",ajaxredesenha);}} | |
| 933 | + else{ if(x1 !=x2){ var doc=(navm)? document.frames("wdocai").document : $i("wdocai").contentDocument; var tipo="adiciona"; if(doc.getElementById("tipoOperacao")){tipo=doc.getElementById("tipoOperacao").value;} | |
| 934 | + if(objmapa.temaAtivo==""){alert("Nenhum tema ativo");return;} | |
| 935 | + if((tipo !="limpa")&&(tipo !="inverte")){ objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=selecaobox&ext="+v+"&g_sid="+g_sid+"&tipo="+tipo+"&tema="+objmapa.temaAtivo; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"selecaobox",ajaxredesenha);}}} | |
| 932 | 936 | with(bx.style){visibility="hidden";width=0;height=0;} |
| 933 | 937 | document.getElementById("imgh").style.display="block"; break;}} |
| 934 | 938 | function zoomPonto(){ if($i("xg")){ var xxx=convdmsddf($i("xg").value,$i("xm").value,$i("xs").value); var yyy=convdmsddf($i("yg").value,$i("ym").value,$i("ys").value); objaguarde.abre("ajaxredesenha","Aguarde..."); var p=g_locaplic+"/classesphp/mapa_controle.php?funcao=zoomponto&pin=pin&xy="+xxx+" "+yyy+"&g_sid="+g_sid; var cp=new cpaint(); cp.set_response_type("JSON"); cp.call(p,"zoomPonto",ajaxredesenha);}} | ... | ... |
classesphp/classe_selecao.php
| ... | ... | @@ -548,5 +548,58 @@ $tipo - Tipo de operação adiciona|retira|inverte|limpa |
| 548 | 548 | if ($tipo == "retira") |
| 549 | 549 | {return($this->selecaoRetira($shpi,$shp_atual));} |
| 550 | 550 | } |
| 551 | +/* | |
| 552 | +function: selecaoBOX | |
| 553 | + | |
| 554 | +Seleciona por retângulo. | |
| 555 | + | |
| 556 | +parameters: | |
| 557 | + | |
| 558 | +$tipo - Tipo de operação adiciona|retira|inverte|limpa | |
| 559 | + | |
| 560 | +$ext - coordenadas separadas por espaços no estilo xmin ymin xmax ymax | |
| 561 | +*/ | |
| 562 | + function selecaoBOX($tipo,$ext) | |
| 563 | + { | |
| 564 | + if ($tipo == "limpa") | |
| 565 | + {return ($this->selecaoLimpa());} | |
| 566 | + if ($tipo == "inverte") | |
| 567 | + {return ($this->selecaoInverte());} | |
| 568 | + $this->layer->set("template","none.htm"); | |
| 569 | + if (file_exists(($this->arquivo)."qy")) | |
| 570 | + {$this->mapa->loadquery(($this->arquivo)."qy");} | |
| 571 | + $indxlayer = $this->layer->index; | |
| 572 | + $res_count = $this->layer->getNumresults(); | |
| 573 | + $shp_atual = array(); | |
| 574 | + for ($i = 0; $i < $res_count;$i++) | |
| 575 | + { | |
| 576 | + $rc = $this->layer->getResult($i); | |
| 577 | + $shp_atual[] = $rc->shapeindex; | |
| 578 | + } | |
| 579 | + $this->mapa->freequery($indxlayer); | |
| 580 | + $shpi = array(); | |
| 581 | + $temp = explode(" ",$ext); | |
| 582 | + $rect = ms_newRectObj(); | |
| 583 | + $rect->set("minx",(min(array($temp[0],$temp[2])))); | |
| 584 | + $rect->set("miny",(min(array($temp[1],$temp[3])))); | |
| 585 | + $rect->set("maxx",(max(array($temp[0],$temp[2])))); | |
| 586 | + $rect->set("maxy",(max(array($temp[1],$temp[3])))); | |
| 587 | + $ident = $this->layer->queryByRect($rect); | |
| 588 | + if ($ident != 1) | |
| 589 | + { | |
| 590 | + $res_count = $this->layer->getNumresults(); | |
| 591 | + $shpi = array(); | |
| 592 | + for ($i = 0; $i < $res_count; $i++) | |
| 593 | + { | |
| 594 | + $result = $this->layer->getResult($i); | |
| 595 | + $shpi[] = $result->shapeindex; | |
| 596 | + } | |
| 597 | + } | |
| 598 | + if ($tipo == "adiciona") | |
| 599 | + {return($this->selecaoAdiciona($shpi,$shp_atual));} | |
| 600 | + if ($tipo == "retira") | |
| 601 | + {return($this->selecaoRetira($shpi,$shp_atual));} | |
| 602 | + } | |
| 603 | + | |
| 551 | 604 | } |
| 552 | 605 | ?> |
| 553 | 606 | \ No newline at end of file | ... | ... |
classesphp/mapa_controle.php
| ... | ... | @@ -1803,6 +1803,19 @@ Include: |
| 1803 | 1803 | $m = new Selecao($map_file,$tema); |
| 1804 | 1804 | $cp->set_data($m->selecaoEXT($tipo)); |
| 1805 | 1805 | break; |
| 1806 | +/* | |
| 1807 | +Property: selecaobox | |
| 1808 | + | |
| 1809 | +Seleciona elementos utilizando um retângulo. | |
| 1810 | + | |
| 1811 | +Include: | |
| 1812 | +<classe_selecao.php> | |
| 1813 | +*/ | |
| 1814 | + case "selecaobox": | |
| 1815 | + include("classe_selecao.php"); | |
| 1816 | + $m = new Selecao($map_file,$tema); | |
| 1817 | + $cp->set_data($m->selecaoBOX($tipo,$ext)); | |
| 1818 | + break; | |
| 1806 | 1819 | |
| 1807 | 1820 | /* |
| 1808 | 1821 | Property: selecaoatrib | ... | ... |
ferramentas/selecao/index.htm
| ... | ... | @@ -16,6 +16,7 @@ |
| 16 | 16 | <div style=top:1px;left:0px;text-align:center;width:95%; > |
| 17 | 17 | <img id=selecaopt onclick="tiposel(this)" src="../../imagens/selpt.png" title="Clique no mapa para selecionar" style="cursor:pointer;border:1px solid white" /> |
| 18 | 18 | <img id=selecaoext onclick="tiposel(this)" src="../../imagens/selext.png" title="Seleciona o que estiver visível no mapa" style="cursor:pointer;border:1px solid gray" /> |
| 19 | + <img id=selecaobox onclick="tiposel(this)" src="../../imagens/selbox.png" title="Desenhe um retângulo no mapa para selecionar" style="cursor:pointer;border:1px solid gray" /> | |
| 19 | 20 | </div> |
| 20 | 21 | <div id=opc1 style=top:0px;left:0px;text-align:left;width:95%; > |
| 21 | 22 | Tema: | ... | ... |
ferramentas/selecao/index.js
| ... | ... | @@ -62,16 +62,17 @@ combot += "<option value='limpa' >Limpa</option>" |
| 62 | 62 | combot += "</select>" |
| 63 | 63 | $i("operacao").innerHTML = combot |
| 64 | 64 | |
| 65 | + | |
| 66 | +function mudaicone() | |
| 67 | +{ | |
| 68 | + $i("selecaopt").style.border = "1px solid gray" | |
| 69 | + $i("selecaoext").style.border = "1px solid gray" | |
| 70 | + $i("selecaobox").style.border = "1px solid gray" | |
| 71 | +} | |
| 65 | 72 | //botoes de tipo |
| 66 | 73 | function tiposel(obj) |
| 67 | 74 | { |
| 68 | 75 | if ($i("comboTemas").value == ""){alert("Escolha um tema");return;} |
| 69 | - var mudaicone = function() | |
| 70 | - { | |
| 71 | - $i("selecaopt").style.border = "1px solid black" | |
| 72 | - $i("selecaoext").style.border = "1px solid black" | |
| 73 | - obj.style.border = "1px solid white" | |
| 74 | - } | |
| 75 | 76 | if (obj.id == "selecaoext") |
| 76 | 77 | { |
| 77 | 78 | if (window.parent.objmapa.scale > 500000) |
| ... | ... | @@ -83,6 +84,18 @@ function tiposel(obj) |
| 83 | 84 | cp.set_response_type("JSON"); |
| 84 | 85 | cp.call(p,"selecaoEXT",window.parent.ajaxredesenha); |
| 85 | 86 | } |
| 87 | + if (obj.id == "selecaobox") | |
| 88 | + { | |
| 89 | + mudaicone() | |
| 90 | + obj.style.border = "1px solid white" | |
| 91 | + window.parent.g_tipoacao = "selecaobox"; | |
| 92 | + } | |
| 93 | + if (obj.id == "selecaopt") | |
| 94 | + { | |
| 95 | + mudaicone() | |
| 96 | + obj.style.border = "1px solid white" | |
| 97 | + window.parent.g_tipoacao = "selecao"; | |
| 98 | + } | |
| 86 | 99 | |
| 87 | 100 | } |
| 88 | 101 | ... | ... |
594 Bytes
| ... | ... | @@ -0,0 +1,281 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| 2 | +<!-- Created with Sodipodi ("http://www.sodipodi.com/") --> | |
| 3 | +<svg | |
| 4 | + xmlns:dc="http://purl.org/dc/elements/1.1/" | |
| 5 | + xmlns:cc="http://web.resource.org/cc/" | |
| 6 | + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
| 7 | + xmlns:svg="http://www.w3.org/2000/svg" | |
| 8 | + xmlns="http://www.w3.org/2000/svg" | |
| 9 | + xmlns:xlink="http://www.w3.org/1999/xlink" | |
| 10 | + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" | |
| 11 | + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" | |
| 12 | + height="22" | |
| 13 | + id="svg1089" | |
| 14 | + sodipodi:docbase="C:\ms4w\Apache\htdocs\i3geo\imagens" | |
| 15 | + sodipodi:docname="selbox.svg" | |
| 16 | + sodipodi:version="0.32" | |
| 17 | + space="preserve" | |
| 18 | + width="22" | |
| 19 | + inkscape:version="0.45.1" | |
| 20 | + inkscape:output_extension="org.inkscape.output.svg.inkscape" | |
| 21 | + version="1.0" | |
| 22 | + inkscape:export-filename="C:\ms4w\Apache\htdocs\i3geo\imagens\selpt.png" | |
| 23 | + inkscape:export-xdpi="90" | |
| 24 | + inkscape:export-ydpi="90"> | |
| 25 | + <metadata | |
| 26 | + id="metadata3"> | |
| 27 | + <rdf:RDF> | |
| 28 | + <cc:Work | |
| 29 | + rdf:about=""> | |
| 30 | + <dc:title>magnifying glass</dc:title> | |
| 31 | + <dc:description /> | |
| 32 | + <dc:subject> | |
| 33 | + <rdf:Bag> | |
| 34 | + <rdf:li>multiplying</rdf:li> | |
| 35 | + <rdf:li>magnifying</rdf:li> | |
| 36 | + <rdf:li>eye</rdf:li> | |
| 37 | + <rdf:li>tool</rdf:li> | |
| 38 | + <rdf:li>loupe</rdf:li> | |
| 39 | + <rdf:li>glass</rdf:li> | |
| 40 | + </rdf:Bag> | |
| 41 | + </dc:subject> | |
| 42 | + <dc:publisher> | |
| 43 | + <cc:Agent | |
| 44 | + rdf:about="http://www.openclipart.org/"> | |
| 45 | + <dc:title>Open Clip Art Library</dc:title> | |
| 46 | + </cc:Agent> | |
| 47 | + </dc:publisher> | |
| 48 | + <dc:creator> | |
| 49 | + <cc:Agent> | |
| 50 | + <dc:title>Tom&Atilde;&iexcl;&Aring;&iexcl; Kratochv&Atilde;&shy;la</dc:title> | |
| 51 | + </cc:Agent> | |
| 52 | + </dc:creator> | |
| 53 | + <dc:rights> | |
| 54 | + <cc:Agent> | |
| 55 | + <dc:title>Tom&Atilde;&iexcl;&Aring;&iexcl; Kratochv&Atilde;&shy;la</dc:title> | |
| 56 | + </cc:Agent> | |
| 57 | + </dc:rights> | |
| 58 | + <dc:date /> | |
| 59 | + <dc:format>image/svg+xml</dc:format> | |
| 60 | + <dc:type | |
| 61 | + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> | |
| 62 | + <cc:license | |
| 63 | + rdf:resource="http://web.resource.org/cc/PublicDomain" /> | |
| 64 | + <dc:language>en</dc:language> | |
| 65 | + </cc:Work> | |
| 66 | + <cc:License | |
| 67 | + rdf:about="http://web.resource.org/cc/PublicDomain"> | |
| 68 | + <cc:permits | |
| 69 | + rdf:resource="http://web.resource.org/cc/Reproduction" /> | |
| 70 | + <cc:permits | |
| 71 | + rdf:resource="http://web.resource.org/cc/Distribution" /> | |
| 72 | + <cc:permits | |
| 73 | + rdf:resource="http://web.resource.org/cc/DerivativeWorks" /> | |
| 74 | + </cc:License> | |
| 75 | + </rdf:RDF> | |
| 76 | + </metadata> | |
| 77 | + <defs | |
| 78 | + id="defs1091"> | |
| 79 | + <linearGradient | |
| 80 | + id="linearGradient1497" | |
| 81 | + x1="741.63899" | |
| 82 | + x2="622.33327" | |
| 83 | + xlink:href="#linearGradient1492" | |
| 84 | + y1="169.44361" | |
| 85 | + y2="287.73826" | |
| 86 | + gradientTransform="scale(0.9552926,1.0467997)" | |
| 87 | + gradientUnits="userSpaceOnUse" /> | |
| 88 | + <linearGradient | |
| 89 | + id="linearGradient1492"> | |
| 90 | + <stop | |
| 91 | + id="stop1493" | |
| 92 | + offset="0.0000000" | |
| 93 | + style="stop-color:#dadada;stop-opacity:1.0000000;" /> | |
| 94 | + <stop | |
| 95 | + id="stop1496" | |
| 96 | + offset="0.34923077" | |
| 97 | + style="stop-color:#f1f1f1;stop-opacity:1.0000000;" /> | |
| 98 | + <stop | |
| 99 | + id="stop1494" | |
| 100 | + offset="1.0000000" | |
| 101 | + style="stop-color:#f0f0f0;stop-opacity:1.0000000;" /> | |
| 102 | + </linearGradient> | |
| 103 | + <linearGradient | |
| 104 | + id="linearGradient1495" | |
| 105 | + x1="728.96644" | |
| 106 | + x2="351.7063" | |
| 107 | + xlink:href="#linearGradient1492" | |
| 108 | + y1="230.07422" | |
| 109 | + y2="689.86002" | |
| 110 | + gradientTransform="scale(0.955425,1.0466546)" | |
| 111 | + gradientUnits="userSpaceOnUse" /> | |
| 112 | + <linearGradient | |
| 113 | + inkscape:collect="always" | |
| 114 | + xlink:href="#linearGradient1507" | |
| 115 | + id="linearGradient10311" | |
| 116 | + gradientUnits="userSpaceOnUse" | |
| 117 | + gradientTransform="scale(0.9446888,1.0585496)" | |
| 118 | + x1="201.38964" | |
| 119 | + y1="843.20789" | |
| 120 | + x2="547.80806" | |
| 121 | + y2="383.7653" /> | |
| 122 | + <linearGradient | |
| 123 | + inkscape:collect="always" | |
| 124 | + xlink:href="#linearGradient1507" | |
| 125 | + id="linearGradient10309" | |
| 126 | + gradientUnits="userSpaceOnUse" | |
| 127 | + gradientTransform="scale(0.9446888,1.0585496)" | |
| 128 | + x1="201.38964" | |
| 129 | + y1="843.20789" | |
| 130 | + x2="547.80806" | |
| 131 | + y2="383.7653" /> | |
| 132 | + <linearGradient | |
| 133 | + inkscape:collect="always" | |
| 134 | + xlink:href="#linearGradient1507" | |
| 135 | + id="linearGradient10307" | |
| 136 | + gradientUnits="userSpaceOnUse" | |
| 137 | + gradientTransform="scale(0.9446888,1.0585496)" | |
| 138 | + x1="201.38964" | |
| 139 | + y1="843.20789" | |
| 140 | + x2="547.80806" | |
| 141 | + y2="383.7653" /> | |
| 142 | + <linearGradient | |
| 143 | + id="linearGradient1507"> | |
| 144 | + <stop | |
| 145 | + id="stop1508" | |
| 146 | + offset="0.0000000" | |
| 147 | + style="stop-color:#000000;stop-opacity:0.095505618;" /> | |
| 148 | + <stop | |
| 149 | + id="stop1510" | |
| 150 | + offset="1.0000000" | |
| 151 | + style="stop-color:#000000;stop-opacity:0.0000000;" /> | |
| 152 | + </linearGradient> | |
| 153 | + <linearGradient | |
| 154 | + id="linearGradient1506" | |
| 155 | + x1="201.38964" | |
| 156 | + x2="547.80806" | |
| 157 | + xlink:href="#linearGradient1507" | |
| 158 | + y1="843.20789" | |
| 159 | + y2="383.7653" | |
| 160 | + gradientTransform="scale(0.9446888,1.0585496)" | |
| 161 | + gradientUnits="userSpaceOnUse" /> | |
| 162 | + <linearGradient | |
| 163 | + id="linearGradient37404"> | |
| 164 | + <stop | |
| 165 | + id="stop37406" | |
| 166 | + offset="0" | |
| 167 | + style="stop-color:#ffd23f;stop-opacity:1;" /> | |
| 168 | + <stop | |
| 169 | + id="stop37408" | |
| 170 | + offset="1.0000000" | |
| 171 | + style="stop-color:#ffffff;stop-opacity:1.0000000;" /> | |
| 172 | + </linearGradient> | |
| 173 | + <linearGradient | |
| 174 | + inkscape:collect="always" | |
| 175 | + xlink:href="#linearGradient37404" | |
| 176 | + id="linearGradient11756" | |
| 177 | + x1="0.21578404" | |
| 178 | + y1="11.148622" | |
| 179 | + x2="21.782246" | |
| 180 | + y2="11.148622" | |
| 181 | + gradientUnits="userSpaceOnUse" /> | |
| 182 | + <linearGradient | |
| 183 | + inkscape:collect="always" | |
| 184 | + xlink:href="#linearGradient1492" | |
| 185 | + id="linearGradient2203" | |
| 186 | + gradientUnits="userSpaceOnUse" | |
| 187 | + gradientTransform="matrix(4.4671717e-2,0,0,4.4992632e-2,-13.360607,-5.5704477)" | |
| 188 | + x1="741.63899" | |
| 189 | + y1="169.44361" | |
| 190 | + x2="622.33327" | |
| 191 | + y2="287.73826" /> | |
| 192 | + <linearGradient | |
| 193 | + inkscape:collect="always" | |
| 194 | + xlink:href="#linearGradient1492" | |
| 195 | + id="linearGradient2207" | |
| 196 | + gradientUnits="userSpaceOnUse" | |
| 197 | + gradientTransform="matrix(4.4677909e-2,0,0,4.4986395e-2,-13.360607,-5.5704477)" | |
| 198 | + x1="728.96644" | |
| 199 | + y1="230.07422" | |
| 200 | + x2="351.7063" | |
| 201 | + y2="689.86002" /> | |
| 202 | + </defs> | |
| 203 | + <sodipodi:namedview | |
| 204 | + id="base" | |
| 205 | + width="22px" | |
| 206 | + height="22px" | |
| 207 | + inkscape:zoom="27.093334" | |
| 208 | + inkscape:cx="12.114319" | |
| 209 | + inkscape:cy="10.310157" | |
| 210 | + inkscape:window-width="1152" | |
| 211 | + inkscape:window-height="817" | |
| 212 | + inkscape:window-x="0" | |
| 213 | + inkscape:window-y="20" | |
| 214 | + inkscape:current-layer="svg1089" /> | |
| 215 | + <g | |
| 216 | + id="g2214"> | |
| 217 | + <path | |
| 218 | + style="fill:#ffffff;fill-rule:evenodd;stroke-width:0.42649043;stroke-opacity:0.36477984" | |
| 219 | + sodipodi:nodetypes="cccccccccccccccc" | |
| 220 | + id="path930" | |
| 221 | + d="M 0.56544005,0.28046682 L 0.56544005,5.6028543 L 0.56544005,10.925243 L 0.56544005,16.247629 L 0.56544005,21.570017 L 5.8498655,21.570017 L 11.134291,21.570017 L 16.418716,21.570017 L 21.703141,21.570017 L 21.703141,16.247629 L 21.703141,10.925243 L 21.703141,5.6028543 L 16.418716,0.28046682 L 11.134291,0.28046682 L 5.8498655,0.28046682 L 0.56544005,0.28046682 z " /> | |
| 222 | + <g | |
| 223 | + transform="matrix(4.7941608e-2,0,0,4.3109047e-2,-7.9241818,-16.932511)" | |
| 224 | + style="fill:url(#linearGradient1506)" | |
| 225 | + id="g1552"> | |
| 226 | + <path | |
| 227 | + style="fill:url(#linearGradient10307);fill-opacity:0.75;fill-rule:evenodd;stroke-width:0.95407495pt" | |
| 228 | + sodipodi:nodetypes="cccccccccccccccc" | |
| 229 | + id="path1505" | |
| 230 | + d="M 173.35959,408.8126 L 173.35959,531.0736 L 173.35959,653.3346 L 173.35959,775.5956 L 173.35959,897.8566 L 282.12187,897.8566 L 390.88417,897.8566 L 499.64646,897.8566 L 608.40874,897.8566 L 608.40874,775.5956 L 608.40874,653.3346 L 608.40874,531.0736 L 499.64646,408.8126 L 390.88417,408.8126 L 282.12187,408.8126 L 173.35959,408.8126 z " /> | |
| 231 | + <path | |
| 232 | + style="fill:url(#linearGradient10309);fill-opacity:0.75;fill-rule:evenodd;stroke-width:0.95407495pt" | |
| 233 | + id="path1538" | |
| 234 | + d="M 170.125,407.1875 C 170.125,571.82292 170.125,736.45833 170.125,901.09375 C 317.30208,901.09375 464.47917,901.09375 611.65625,901.09375 C 611.65625,777.33333 611.65625,653.57292 611.65625,529.8125 C 574.80918,488.38978 537.97604,446.95335 501.09375,405.5625 C 390.77083,405.5625 280.44792,405.5625 170.125,405.5625 C 170.125,405.89583 170.125,406.97917 170.125,407.1875 z " /> | |
| 235 | + <path | |
| 236 | + style="fill:url(#linearGradient10311);fill-opacity:0.75;fill-rule:evenodd;stroke-width:0.95407495pt" | |
| 237 | + id="path1543" | |
| 238 | + d="M 166.875,403.9375 C 166.875,570.73958 166.875,737.54167 166.875,904.34375 C 316.21875,904.34375 465.5625,904.34375 614.90625,904.34375 C 614.90625,779.08333 614.90625,653.82292 614.90625,528.5625 C 577.45517,486.47298 540.01754,444.37017 502.53125,402.3125 C 390.64583,402.3125 278.76042,402.3125 166.875,402.3125 C 166.875,402.64583 166.875,403.72917 166.875,403.9375 z " /> | |
| 239 | + </g> | |
| 240 | + <path | |
| 241 | + style="fill:url(#linearGradient2207);fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.06444584;stroke-opacity:0.36477984" | |
| 242 | + sodipodi:nodetypes="cccccccccccccccc" | |
| 243 | + id="rect900" | |
| 244 | + d="M 0.5741186,0.30685793 L 0.5741186,5.6292454 L 0.5741186,10.951633 L 0.5741186,16.274021 L 0.5741186,21.596408 L 5.8585436,21.596408 L 11.142969,21.596408 L 16.427394,21.596408 L 21.711819,21.596408 L 21.711819,16.274021 L 21.711819,10.951633 L 21.711819,0.3142849 L 16.427394,0.30685793 L 11.142969,0.30685793 L 5.8585436,0.30685793 L 0.5741186,0.30685793 z " /> | |
| 245 | + <path | |
| 246 | + style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.25688249;stroke-opacity:1" | |
| 247 | + sodipodi:nodetypes="cccccc" | |
| 248 | + id="path2674" | |
| 249 | + d="M 2.2356958,1.8762178 L 2.2356958,20.324012 L 20.209287,20.324012 L 20.077126,1.9301969 L 17.005158,1.8762178 L 2.2356958,1.8762178 z " /> | |
| 250 | + </g> | |
| 251 | + <path | |
| 252 | + style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.2343951;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | |
| 253 | + d="M 17.880737,17.719915 C 17.999812,17.856425 18.320059,18.223564 18.53242,18.46702 C 18.710152,18.670776 18.887883,18.874531 19.065615,19.078287 C 19.213725,19.248084 19.361835,19.41788 19.509944,19.587677 C 19.658054,19.757473 19.806164,19.92727 19.954273,20.097066 C 20.053013,20.210263 19.470448,19.542397 19.569188,19.655595" | |
| 254 | + id="path3181" | |
| 255 | + sodipodi:nodetypes="cssssc" /> | |
| 256 | + <path | |
| 257 | + style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.54113501;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | |
| 258 | + d="M 19.181494,19.492431 C 19.181494,18.526957 19.181494,15.930344 19.181494,14.208475 C 19.181494,12.767398 19.181494,11.326321 19.181494,9.8852441 C 19.181494,8.6843458 19.181494,7.4834473 19.181494,6.282549 C 19.181494,5.0816507 19.181494,3.8807522 19.181494,2.6798539 C 19.181494,1.8792532 19.181494,6.6027871 19.181494,5.8021864" | |
| 259 | + id="path3191" | |
| 260 | + sodipodi:nodetypes="cssssc" /> | |
| 261 | + <path | |
| 262 | + style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.54113501;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | |
| 263 | + d="M 3.0265744,19.492431 C 3.0265744,18.526957 3.0265744,15.930344 3.0265744,14.208475 C 3.0265744,12.767398 3.0265744,11.326321 3.0265744,9.8852441 C 3.0265744,8.6843451 3.0265744,7.4834471 3.0265744,6.2825491 C 3.0265744,5.0816504 3.0265744,3.8807519 3.0265744,2.6798536 C 3.0265744,1.8792529 3.0265744,6.6027871 3.0265744,5.8021861" | |
| 264 | + id="path2197" | |
| 265 | + sodipodi:nodetypes="cssssc" /> | |
| 266 | + <path | |
| 267 | + style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.53595829;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | |
| 268 | + d="M 19.353629,2.9423038 C 18.406539,2.9423038 15.859369,2.9423038 14.170286,2.9423038 C 12.75665,2.9423038 11.343013,2.9423038 9.9293757,2.9423038 C 8.7513438,2.9423038 7.5733125,2.9423038 6.3952812,2.9423038 C 5.2172492,2.9423038 4.0392174,2.9423038 2.8611858,2.9423038 C 2.0758296,2.9423038 6.7094215,2.9423038 5.924065,2.9423038" | |
| 269 | + id="path2199" | |
| 270 | + sodipodi:nodetypes="cssssc" /> | |
| 271 | + <path | |
| 272 | + style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.53595829;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | |
| 273 | + d="M 19.408993,19.21937 C 18.461903,19.21937 15.914733,19.21937 14.22565,19.21937 C 12.812014,19.21937 11.398377,19.21937 9.9847396,19.21937 C 8.8067082,19.21937 7.6286769,19.21937 6.4506456,19.21937 C 5.2726136,19.21937 4.0945818,19.21937 2.9165502,19.21937 C 2.131194,19.21937 6.7647859,19.21937 5.9794294,19.21937" | |
| 274 | + id="path2201" | |
| 275 | + sodipodi:nodetypes="cssssc" /> | |
| 276 | + <path | |
| 277 | + style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.2343951;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" | |
| 278 | + d="M 2.3532427,2.1656658 C 2.4723177,2.3021758 2.7925647,2.6693148 3.0049257,2.9127708 C 3.1826577,3.1165268 3.3603887,3.3202818 3.5381207,3.5240378 C 3.6862307,3.6938348 3.8343407,3.8636308 3.9824497,4.0334278 C 4.1305597,4.2032238 4.2786697,4.3730208 4.4267787,4.5428168 C 4.5255187,4.6560138 3.9429537,3.9881478 4.0416937,4.1013458" | |
| 279 | + id="path2205" | |
| 280 | + sodipodi:nodetypes="cssssc" /> | |
| 281 | +</svg> | ... | ... |