Commit 3c4002061c293129bd2a1ed44ca4b40a079630ee
1 parent
7babf707
Exists in
master
and in
7 other branches
--no commit message
Showing
5 changed files
with
107 additions
and
104 deletions
Show diff stats
classesjs/classe_interface.js
... | ... | @@ -49,6 +49,7 @@ if (typeof (i3GEO) === 'undefined') { |
49 | 49 | var i3GEO = {}; |
50 | 50 | } |
51 | 51 | //TODO incluir opcao para usar o modo notile no googlemaps e openlayers conforme for definido na configuracao do LAYER |
52 | +//TODO integrar Cesium http://cesiumjs.org/2013/04/12/Cesium-up-and-running/ | |
52 | 53 | i3GEO.Interface = |
53 | 54 | { |
54 | 55 | /** | ... | ... |
classesjs/classe_tema.js
css/botoes2.css
... | ... | @@ -1125,6 +1125,10 @@ button { // |
1125 | 1125 | height: 16px; |
1126 | 1126 | float: left; |
1127 | 1127 | } |
1128 | +.i3GEOiconeXis { | |
1129 | + background-image: url("../imagens/oxygen/16x16/edit-delete.png"); | |
1130 | + cursor: pointer; | |
1131 | +} | |
1128 | 1132 | .i3GEOiconemmscale{ |
1129 | 1133 | background-image: URL('../imagens/oxygen/16x16/graphics-viewer-document.png'); |
1130 | 1134 | } | ... | ... |
ferramentas/legenda/dicionario.js
... | ... | @@ -266,7 +266,7 @@ i3GEOF.legenda.dicionario = { |
266 | 266 | es : "" |
267 | 267 | } ], |
268 | 268 | 'aplicaAlteracoes' : [ { |
269 | - pt : "Aplicar as alterações", | |
269 | + pt : "Aplicar todas as alterações", | |
270 | 270 | en : "", |
271 | 271 | es : "" |
272 | 272 | } ], |
... | ... | @@ -421,7 +421,7 @@ i3GEOF.legenda.dicionario = { |
421 | 421 | es : "" |
422 | 422 | } ], |
423 | 423 | 'tamanhoEspacamento' : [ { |
424 | - pt : "Tamanho/espaçamento", | |
424 | + pt : "Tamanho / espaçamento", | |
425 | 425 | en : "", |
426 | 426 | es : "" |
427 | 427 | } ], |
... | ... | @@ -446,7 +446,7 @@ i3GEOF.legenda.dicionario = { |
446 | 446 | es : "" |
447 | 447 | } ], |
448 | 448 | 'simbolo' : [ { |
449 | - pt : "Símbolo<br>(Você pode usar o caminho absoluto de uma imagem PNG existente no servidor)", | |
449 | + pt : "Símbolo (Você pode usar o caminho absoluto de uma imagem PNG existente no servidor ou clicar em um dos símbolos mostrados abaixo)", | |
450 | 450 | en : "", |
451 | 451 | es : "" |
452 | 452 | } ], | ... | ... |
ferramentas/legenda/index.js
... | ... | @@ -41,6 +41,8 @@ if (typeof (i3GEOF) === 'undefined') { |
41 | 41 | * Classe: i3GEOF.legenda |
42 | 42 | */ |
43 | 43 | //XODO incluir um construtor de expressao na legenda |
44 | +//XODO incluir SYMBOLSCALEDENOM | |
45 | +//XODO incluir link para ferramenta de definicao da escala | |
44 | 46 | i3GEOF.legenda = |
45 | 47 | { |
46 | 48 | /* |
... | ... | @@ -512,9 +514,9 @@ i3GEOF.legenda = |
512 | 514 | exp = (retorno.data[i].expressao).replace(re, '"'); |
513 | 515 | |
514 | 516 | ins.push("<tr>"); |
515 | - ins.push("<td><img style='cursor:pointer' title='" + $trad('cliqueExclui', i3GEOF.legenda.dicionario) | |
517 | + ins.push("<td><div style='cursor:pointer' title='" + $trad('cliqueExclui', i3GEOF.legenda.dicionario) | |
516 | 518 | + "' onclick='i3GEOF.legenda.excluilinhaf(this)' src='" + i3GEO.configura.locaplic |
517 | - + "/imagens/x.gif' title='excluir' /></td>"); | |
519 | + + "/imagens/x.gif' title='excluir' class='i3GEOiconeXis' > </div></td>"); | |
518 | 520 | |
519 | 521 | ins.push("<td><img width='30px' height='15px' style='cursor:pointer' title='" |
520 | 522 | + $trad('cliqueAltera', i3GEOF.legenda.dicionario) + "' src='" + retorno.data[i].imagem |
... | ... | @@ -1448,104 +1450,100 @@ i3GEOF.legenda = |
1448 | 1450 | linha = i3GEOF.legenda.estilos[i3GEOF.legenda.estilo]; |
1449 | 1451 | linha = linha.split("#"); |
1450 | 1452 | tipoLayer = linha[0]; |
1451 | - d = | |
1452 | - "<table class=lista6 >" | |
1453 | - + "<tr><td>" | |
1454 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"outlinecolor\",\"i3GEOlegendaoutlinecolor\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1455 | - + "</td><td style='text-align:left;'>Cor do contorno:</td><td>" | |
1456 | - + "<div class='i3geoForm100 i3geoFormIconeAquarela' >" | |
1457 | - + "<input type=text value='" | |
1458 | - + linha[2] | |
1459 | - + "' id='i3GEOlegendaoutlinecolor' />" | |
1460 | - + "</div>" | |
1461 | - + "</td></tr>" | |
1462 | - + "<tr><td>" | |
1463 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"backgroundcolor\",\"i3GEOlegendabackgroundcolor\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1464 | - + "</td><td style='text-align:left;'>" | |
1465 | - + $trad('corFundo', i3GEOF.legenda.dicionario) | |
1466 | - + ":</td><td>" | |
1467 | - + "<div class='i3geoForm100 i3geoFormIconeAquarela' >" | |
1468 | - + "<input type=text value='" | |
1469 | - + linha[3] | |
1470 | - + "' id='i3GEOlegendabackgroundcolor' />" | |
1471 | - + "</div>" | |
1472 | - + "</td></tr>" | |
1473 | - + "<tr><td>" | |
1474 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"color\",\"i3GEOlegendacolor\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1475 | - + "</td><td style='text-align:left;'>" | |
1476 | - + $trad('corFrente', i3GEOF.legenda.dicionario) | |
1477 | - + ":</td><td>" | |
1478 | - + "<div class='i3geoForm100 i3geoFormIconeAquarela' >" | |
1479 | - + "<input type=text value='" | |
1480 | - + linha[4] | |
1481 | - + "' id='i3GEOlegendacolor' />" | |
1482 | - + "</div>" | |
1483 | - + "</td></tr>" | |
1484 | - + "<tr><td>" | |
1485 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"size\",\"i3GEOlegendasizes\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1486 | - + "</td><td style='text-align:left;'>" | |
1487 | - + $trad('tamanhoEspacamento', i3GEOF.legenda.dicionario) | |
1488 | - + ":</td><td>" | |
1489 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1490 | - + "<input type=text value='" | |
1491 | - + linha[6] | |
1492 | - + "' id='i3GEOlegendasizes' />" | |
1493 | - + "</div>" | |
1494 | - + "</td><td></td></tr>" | |
1495 | - + "<tr><td>" | |
1496 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"width\",\"i3GEOlegendawidth\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1497 | - + "</td><td style='text-align:left;'>" | |
1498 | - + $trad('espessura', i3GEOF.legenda.dicionario) | |
1499 | - + ":</td><td>" | |
1500 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1501 | - + "<input type=text value='" | |
1502 | - + linha[8] | |
1503 | - + "' id='i3GEOlegendawidth' />" | |
1504 | - + "</div>" | |
1505 | - + "</td><td></td></tr>" | |
1506 | - + "<tr><td>" | |
1507 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"pattern\",\"i3GEOlegendapattern\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1508 | - + "</td><td style='text-align:left;'>" | |
1509 | - + $trad('padraoRepeticao', i3GEOF.legenda.dicionario) | |
1510 | - + ":</td><td>" | |
1511 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1512 | - + "<input type=text value='" | |
1513 | - + linha[9] | |
1514 | - + "' id='i3GEOlegendapattern' />" | |
1515 | - + "</div>" | |
1516 | - + "</td><td></td></tr>" | |
1517 | - + "<tr><td>" | |
1518 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"opacity\",\"i3GEOlegendaopacidade\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1519 | - + "</td><td style='text-align:left;'>" | |
1520 | - + $trad('opacidade', i3GEOF.legenda.dicionario) | |
1521 | - + ":</td><td>" | |
1522 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1523 | - + "<input type=text value='" | |
1524 | - + linha[7] | |
1525 | - + "' id='i3GEOlegendaopacidade' />" | |
1526 | - + "</div>" | |
1527 | - + "</td><td></td></tr>" | |
1528 | - + "<tr><td>" | |
1529 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"angle\",\"i3GEOlegendaangulo\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1530 | - + "</td><td style='text-align:left;'>" | |
1531 | - + $trad('angulo', i3GEOF.legenda.dicionario) | |
1532 | - + ":</td><td>" | |
1533 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1534 | - + "<input type=text value='" | |
1535 | - + linha[10] | |
1536 | - + "' id='i3GEOlegendaangulo' />" | |
1537 | - + "</div>" | |
1538 | - + "</td><td></td></tr>" | |
1539 | - + "<tr><td>" | |
1540 | - + "<img onclick='i3GEOF.legenda.aplicaTodasClasses(\"symbolname\",\"i3GEOlegendasymbolname\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1541 | - + "</td><td style='text-align:left;'>" | |
1542 | - + $trad('simbolo', i3GEOF.legenda.dicionario) | |
1543 | - + ":</td><td>" | |
1544 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1545 | - + "<input type=text value='" | |
1546 | - + linha[5] | |
1547 | - + "' id='i3GEOlegendasymbolname' />" | |
1548 | - + "</div>" + "</td><td></td></tr></table>"; | |
1453 | + d = | |
1454 | + "<img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"outlinecolor\",\"i3GEOlegendaoutlinecolor\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1455 | + + "<p class='paragrafo'>Cor do contorno:</p>" | |
1456 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1457 | + + "<div class='i3geoForm i3geoFormIconeAquarela' >" | |
1458 | + + "<input type=text value='" | |
1459 | + + linha[2] | |
1460 | + + "' id='i3GEOlegendaoutlinecolor' />" | |
1461 | + + "</div></form>" | |
1462 | + | |
1463 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"color\",\"i3GEOlegendacolor\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1464 | + + "<p class='paragrafo'>" + $trad('corFrente', i3GEOF.legenda.dicionario) + ":</p>" | |
1465 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1466 | + + "<div class='i3geoForm i3geoFormIconeAquarela' >" | |
1467 | + + "<input type=text value='" | |
1468 | + + linha[4] | |
1469 | + + "' id='i3GEOlegendacolor' />" | |
1470 | + + "</div></form>" | |
1471 | + | |
1472 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"backgroundcolor\",\"i3GEOlegendabackgroundcolor\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1473 | + + "<p class='paragrafo'>" + $trad('corFundo', i3GEOF.legenda.dicionario) + ":</p>" | |
1474 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1475 | + + "<div class='i3geoForm i3geoFormIconeAquarela' >" | |
1476 | + + "<input type=text value='" | |
1477 | + + linha[3] | |
1478 | + + "' id='i3GEOlegendabackgroundcolor' />" | |
1479 | + + "</div></form>" | |
1480 | + | |
1481 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"size\",\"i3GEOlegendasizes\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1482 | + + "<p class='paragrafo'>" | |
1483 | + + $trad('tamanhoEspacamento', i3GEOF.legenda.dicionario) | |
1484 | + + ":</p>" | |
1485 | + + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1486 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1487 | + + "<input type=text value='" | |
1488 | + + linha[6] | |
1489 | + + "' id='i3GEOlegendasizes' />" | |
1490 | + + "</form></div>" | |
1491 | + | |
1492 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"width\",\"i3GEOlegendawidth\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1493 | + + "<p class='paragrafo'>" | |
1494 | + + $trad('espessura', i3GEOF.legenda.dicionario) | |
1495 | + + ":<p>" | |
1496 | + + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1497 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1498 | + + "<input type=text value='" | |
1499 | + + linha[8] | |
1500 | + + "' id='i3GEOlegendawidth' />" | |
1501 | + + "</form></div>" | |
1502 | + | |
1503 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"pattern\",\"i3GEOlegendapattern\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1504 | + + "<p class='paragrafo'>" | |
1505 | + + $trad('padraoRepeticao', i3GEOF.legenda.dicionario) | |
1506 | + + ":</p>" | |
1507 | + + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1508 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1509 | + + "<input type=text value='" | |
1510 | + + linha[9] | |
1511 | + + "' id='i3GEOlegendapattern' />" | |
1512 | + + "</form></div>" | |
1513 | + | |
1514 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"opacity\",\"i3GEOlegendaopacidade\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1515 | + + "<p class='paragrafo'>" | |
1516 | + + $trad('opacidade', i3GEOF.legenda.dicionario) | |
1517 | + + ":</p>" | |
1518 | + + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1519 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1520 | + + "<input type=text value='" | |
1521 | + + linha[7] | |
1522 | + + "' id='i3GEOlegendaopacidade' />" | |
1523 | + + "</form></div>" | |
1524 | + | |
1525 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"angle\",\"i3GEOlegendaangulo\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1526 | + + "<p class='paragrafo'>" | |
1527 | + + $trad('angulo', i3GEOF.legenda.dicionario) | |
1528 | + + ":</p>" | |
1529 | + + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1530 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1531 | + + "<input type=text value='" | |
1532 | + + linha[10] | |
1533 | + + "' id='i3GEOlegendaangulo' />" | |
1534 | + + "</form></div>" | |
1535 | + | |
1536 | + + "<br><img style='float:left;' onclick='i3GEOF.legenda.aplicaTodasClasses(\"symbolname\",\"i3GEOlegendasymbolname\")' title='"+$trad('aplicatodos', i3GEOF.legenda.dicionario)+"' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/tools-wizard.png' />" | |
1537 | + + "<p class='paragrafo'>" | |
1538 | + + $trad('simbolo', i3GEOF.legenda.dicionario) | |
1539 | + + ":</p>" | |
1540 | + + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1541 | + + "<form onsubmit='i3GEOF.legenda.aplicaEstilo();return false;'>" | |
1542 | + + "<input type=text value='" | |
1543 | + + linha[5] | |
1544 | + + "' id='i3GEOlegendasymbolname' />" | |
1545 | + + "</form></div>"; | |
1546 | + | |
1549 | 1547 | $i("i3GEOlegendaParametrosEstilos").innerHTML = d; |
1550 | 1548 | i3GEO.util.aplicaAquarela("i3GEOlegendaParametrosEstilos"); |
1551 | 1549 | p = | ... | ... |