Commit 1bc1b025d249f11ad61d25c30e6086163a4b7c56
1 parent
4e629496
Exists in
master
and in
7 other branches
Ajustes no mapa ativado no SAIKU
Showing
5 changed files
with
270 additions
and
195 deletions
Show diff stats
ferramentas/saiku/cartograma.php
| ... | ... | @@ -10,9 +10,13 @@ if(!isset($dir_tmp)){ |
| 10 | 10 | include(dirname(__FILE__)."/../../ms_configura.php"); |
| 11 | 11 | } |
| 12 | 12 | if(isset($statusFerramentas) && $statusFerramentas["saiku"] != true){ |
| 13 | - exit; | |
| 13 | + echo "A ferramenta SAIKU não está ativada em ms_configura.php"; | |
| 14 | + exit; | |
| 14 | 15 | } |
| 15 | 16 | include(dirname(__FILE__)."/../blacklist.php"); |
| 17 | +if(in_array("saiku",$i3geoBlFerramentas)){ | |
| 18 | + echo "Ferramenta bloqueada em ms_configura.php"; | |
| 19 | +} | |
| 16 | 20 | verificaBlFerramentas(basename(dirname(__FILE__)),$i3geoBlFerramentas,false); |
| 17 | 21 | |
| 18 | 22 | //error_reporting(E_ALL); |
| ... | ... | @@ -252,7 +256,7 @@ else{ |
| 252 | 256 | } |
| 253 | 257 | } |
| 254 | 258 | |
| 255 | -header("Location:".$opcoes["locaplic"]."/mashups/openlayers.php?temas=".$map_file."&DESLIGACACHE=sim&botoes=legenda,pan,zoombox,zoomtot,zoomin,zoomout,distancia,area,identifica&controles=navigation,layerswitcher,scaleline,mouseposition,overviewmap,keyboarddefaults&tiles=false&mapext=".$opcoes["mapext"]); | |
| 259 | +header("Location:".$opcoes["locaplic"]."/mashups/openlayers.php?temas=".$map_file."&DESLIGACACHE=sim&botoes=legenda,analise,catalogo,camadas,identifica&controles=navigation,layerswitcher,scaleline,mouseposition,keyboarddefaults&fundo=eng&tiles=false&mapext=".$opcoes["mapext"]); | |
| 256 | 260 | |
| 257 | 261 | function mapaBarras($colunas,$metadataItens){ |
| 258 | 262 | global $opcoes; | ... | ... |
ferramentas/saiku/index.js
interface/openlayersdebug.htm
mashups/openlayers.php
| ... | ... | @@ -11,9 +11,9 @@ include_once (dirname(__FILE__) . "/../classesphp/funcoes_gerais.php"); |
| 11 | 11 | error_reporting(0); |
| 12 | 12 | // variaveis utilizadas |
| 13 | 13 | $parurl = array_merge($_GET, $_POST); |
| 14 | -if(count($parurl) == 0){ | |
| 14 | +if (count($parurl) == 0) { | |
| 15 | 15 | ajuda(); |
| 16 | - exit; | |
| 16 | + exit(); | |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | if (isset($parurl["opacidade"])) { |
| ... | ... | @@ -36,18 +36,18 @@ if (! isset($parurl["temas"]) && isset($parurl["layers"])) { |
| 36 | 36 | $parurl["temas"] = $parurl["layers"]; |
| 37 | 37 | } |
| 38 | 38 | $temas = explode(",", str_replace(" ", ",", $parurl["temas"])); |
| 39 | -if(!isset($parurl["visiveis"])){ | |
| 39 | +if (! isset($parurl["visiveis"])) { | |
| 40 | 40 | $parurl["visiveis"] = $parurl["temas"]; |
| 41 | 41 | } |
| 42 | 42 | $visiveis = explode(",", str_replace(" ", ",", $parurl["visiveis"])); |
| 43 | 43 | $off = array_diff($temas, $visiveis); |
| 44 | -//filtros | |
| 44 | +// filtros | |
| 45 | 45 | $filtros = array(); |
| 46 | -foreach($temas as $tema){ | |
| 47 | - if(isset($parurl["map_layer_".$tema."_filter"])){ | |
| 46 | +foreach ($temas as $tema) { | |
| 47 | + if (isset($parurl["map_layer_" . $tema . "_filter"])) { | |
| 48 | 48 | $filtros[] = array( |
| 49 | - "layer"=>$tema, | |
| 50 | - "expression"=>$parurl["map_layer_".$tema."_filter"] | |
| 49 | + "layer" => $tema, | |
| 50 | + "expression" => $parurl["map_layer_" . $tema . "_filter"] | |
| 51 | 51 | ); |
| 52 | 52 | } |
| 53 | 53 | } |
| ... | ... | @@ -267,7 +267,6 @@ if (isset($parurl["botoes"])) { |
| 267 | 267 | $objBotoes[] = "'frente':true"; |
| 268 | 268 | |
| 269 | 269 | $botoes = "{" . implode(",", $objBotoes) . "}"; |
| 270 | - | |
| 271 | 270 | } |
| 272 | 271 | if (isset($parurl["kml"])) { |
| 273 | 272 | $kml = $parurl["kml"]; |
| ... | ... | @@ -297,28 +296,26 @@ if (isset($parurl["pontos"])) { |
| 297 | 296 | } else { |
| 298 | 297 | $pontos = ""; |
| 299 | 298 | } |
| 300 | -if(isset($parurl["marca"])){ | |
| 299 | +if (isset($parurl["marca"])) { | |
| 301 | 300 | $marca = $parurl["marca"]; |
| 302 | 301 | } else { |
| 303 | - $marca = "../pacotes/openlayers/img/marker-gold.png"; | |
| 302 | + $marca = "../pacotes/openlayers/img/marker-gold.png"; | |
| 304 | 303 | } |
| 305 | -if(isset($parurl["tiles"])){ | |
| 304 | +if (isset($parurl["tiles"])) { | |
| 306 | 305 | $tiles = $parurl["tiles"]; |
| 306 | +} else { | |
| 307 | + $tiles = "true"; | |
| 307 | 308 | } |
| 308 | -else{ | |
| 309 | - $tiles = "true"; | |
| 310 | -} | |
| 311 | -if(isset($parurl["ativarodadomouse"]) && $parurl["ativarodadomouse"] == "false"){ | |
| 309 | +if (isset($parurl["ativarodadomouse"]) && $parurl["ativarodadomouse"] == "false") { | |
| 312 | 310 | $ativarodadomouse = ""; |
| 313 | -} | |
| 314 | -else{ | |
| 311 | +} else { | |
| 315 | 312 | $ativarodadomouse = "new ol.interaction.MouseWheelZoom(),"; |
| 316 | 313 | } |
| 317 | -if(!isset($parurl["legendahtml"])){ | |
| 314 | +if (! isset($parurl["legendahtml"])) { | |
| 318 | 315 | $parurl["legendahtml"] = ""; |
| 319 | 316 | } |
| 320 | 317 | $legendahtml = $parurl["legendahtml"]; |
| 321 | -if(!isset($parurl["layerDefault"])){ | |
| 318 | +if (! isset($parurl["layerDefault"])) { | |
| 322 | 319 | $parurl["layerDefault"] = ""; |
| 323 | 320 | } |
| 324 | 321 | $layerDefault = $parurl["layerDefault"]; |
| ... | ... | @@ -457,10 +454,10 @@ function ajuda() |
| 457 | 454 | <link rel="stylesheet" type="text/css" href="../css/default.css"> |
| 458 | 455 | <style> |
| 459 | 456 | .ol-attribution.ol-uncollapsible { |
| 460 | - height: 2.1em; | |
| 461 | - right: 24px; | |
| 462 | - background: none; | |
| 463 | - margin-bottom: 15px; | |
| 457 | + height: 2.1em; | |
| 458 | + right: 24px; | |
| 459 | + background: none; | |
| 460 | + margin-bottom: 35px; | |
| 464 | 461 | } |
| 465 | 462 | |
| 466 | 463 | .foraDoMapa+span>span { |
| ... | ... | @@ -494,17 +491,17 @@ function ajuda() |
| 494 | 491 | } |
| 495 | 492 | |
| 496 | 493 | .ol-mouse-position { |
| 497 | - left: 10px; | |
| 498 | - position: absolute; | |
| 499 | - bottom: 5px; | |
| 500 | - top: auto; | |
| 494 | + left: 10px; | |
| 495 | + position: absolute; | |
| 496 | + bottom: 5px; | |
| 497 | + top: auto; | |
| 501 | 498 | } |
| 502 | 499 | </style> |
| 503 | 500 | </head> |
| 504 | 501 | <!-- As palavras entre {{{}}} sao utilizadas para a traducao. Veja i3geo/js/dicionario.js |
| 505 | 502 | Marque com data-traduzir="true" os elementos que deverao passar pelo tradutor |
| 506 | 503 | --> |
| 507 | -<body id="i3geo"> | |
| 504 | +<body id="i3geo" style='background: white;'> | |
| 508 | 505 | <div style="background: white;<?php echo $estilo;?>"> |
| 509 | 506 | <div id="mapai3Geo" style="<?php echo $estilo;?>"></div> |
| 510 | 507 | |
| ... | ... | @@ -553,8 +550,7 @@ function ajuda() |
| 553 | 550 | <!-- configuracao para todos os botoes |
| 554 | 551 | data-idconteudo - id do DIV que contem o conteudo da guia e que sera mostrado ao ser clicado |
| 555 | 552 | --> |
| 556 | - <div class="iconesGuiaMovel" data-traduzir="true" | |
| 557 | - style="right: 0px; border-radius: 4px; padding: 0px; cursor: pointer; position: absolute; top: 5px; width: auto; z-index: 5000; background-color: rgba(255, 255, 255, .4);"> | |
| 553 | + <div class="iconesGuiaMovel ol-control" data-traduzir="true"> | |
| 558 | 554 | <!-- ferramentas |
| 559 | 555 | data-idLista - id do DIV dentro de idconteudo que sera utilizado para mostrar as "pastas" que abrem o proximo nivel |
| 560 | 556 | data-idLinks - id do DIV dentro de idconteudo que sera utilizado para mostrar a lista de links que abre cada ferramenta |
| ... | ... | @@ -562,7 +558,7 @@ function ajuda() |
| 562 | 558 | --> |
| 563 | 559 | <div class="<?php echo $objBotoesHtml["analise"];?>" data-idconteudo="guia8obj" data-idLinks="listaFerramentasLinks" data-idMigalha="migalhaFerramentas" data-idLista="listaFerramentas" |
| 564 | 560 | onclick="i3GEO.guias.ativa('ferramentas',this)"> |
| 565 | - <button title="{{{iconeFerramentas}}}" class="btn btn-default iconeGuiaMovel" style="margin: 2px; color: white; box-shadow: none;"> | |
| 561 | + <button title="{{{iconeFerramentas}}}" class="iconeGuiaMovel" style="color: white; box-shadow: none;"> | |
| 566 | 562 | <i class="material-icons">business_center</i> |
| 567 | 563 | </button> |
| 568 | 564 | </div> |
| ... | ... | @@ -574,8 +570,8 @@ function ajuda() |
| 574 | 570 | do metadata existente na camada. Deixe vazio para nao ativar a operacao. |
| 575 | 571 | --> |
| 576 | 572 | <div class="<?php echo $objBotoesHtml["camadas"];?>" onclick="i3GEO.guias.ativa('temas',this)" data-verificaAbrangencia="" data-idconteudo="guia1obj" data-idListaFundo="listaFundo" |
| 577 | - data-idListaDeCamadas="listaTemas" style="margin-top: 3px;"> | |
| 578 | - <button title="{{{iconeMapa}}}" class="btn btn-default iconeGuiaMovel" style="margin: 2px; color: white; box-shadow: none;"> | |
| 573 | + data-idListaDeCamadas="listaTemas" > | |
| 574 | + <button title="{{{iconeMapa}}}" class="iconeGuiaMovel" style="color: white; box-shadow: none;"> | |
| 579 | 575 | <i class="material-icons"><i class="material-icons">visibility</i></i> |
| 580 | 576 | </button> |
| 581 | 577 | </div> |
| ... | ... | @@ -589,50 +585,55 @@ function ajuda() |
| 589 | 585 | i3GEO.catalogoMenus.IDSMENUS - (array) apenas os menus com idmenu que constem nessa lista serao mostrados. Por default e vazio. |
| 590 | 586 | --> |
| 591 | 587 | <div class="<?php echo $objBotoesHtml["catalogo"];?>" onclick="i3GEO.guias.ativa('adiciona',this)" data-idconteudo="guia2obj" data-idMigalha="catalogoMigalha" |
| 592 | - data-idNavegacao="catalogoNavegacao" data-idCatalogo="catalogoPrincipal" data-idMenus="catalogoMenus" style="margin-top: 3px;"> | |
| 593 | - <button title="{{{iconeCatalogo}}}" class="btn btn-default iconeGuiaMovel" style="margin: 2px; color: white; box-shadow: none;"> | |
| 588 | + data-idNavegacao="catalogoNavegacao" data-idCatalogo="catalogoPrincipal" data-idMenus="catalogoMenus" > | |
| 589 | + <button title="{{{iconeCatalogo}}}" class="iconeGuiaMovel" style="color: white; box-shadow: none;"> | |
| 594 | 590 | <i class="material-icons">layers</i> |
| 595 | 591 | </button> |
| 596 | 592 | </div> |
| 597 | 593 | <!-- legenda --> |
| 598 | - <div class="<?php echo $objBotoesHtml["legenda"];?>" onclick="i3GEO.guias.ativa('legenda',this)" data-idconteudo="guia4obj" data-idLegenda="legendaHtml" style="margin-top: 3px;"> | |
| 599 | - <button title="{{{iconeLegenda}}}" class="btn btn-default iconeGuiaMovel" style="margin: 2px; color: white; box-shadow: none;"> | |
| 594 | + <div class="<?php echo $objBotoesHtml["legenda"];?>" onclick="i3GEO.guias.ativa('legenda',this)" data-idconteudo="guia4obj" data-idLegenda="legendaHtml" > | |
| 595 | + <button title="{{{iconeLegenda}}}" class="iconeGuiaMovel" style="color: white; box-shadow: none;"> | |
| 600 | 596 | <i class="material-icons">view_list</i> |
| 601 | 597 | </button> |
| 602 | 598 | </div> |
| 603 | 599 | <!-- Busca --> |
| 604 | - <div class="<?php echo $objBotoesHtml["procura"];?>" onclick="i3GEO.guias.ativa('buscaRapida',this)" data-idconteudo="guia7obj" style="margin-top: 3px;"> | |
| 605 | - <button class="btn btn-default iconeGuiaMovel" style="margin: 2px; color: white; box-shadow: none;"> | |
| 600 | + <div class="<?php echo $objBotoesHtml["procura"];?>" onclick="i3GEO.guias.ativa('buscaRapida',this)" data-idconteudo="guia7obj" > | |
| 601 | + <button class="iconeGuiaMovel" style="color: white; box-shadow: none;"> | |
| 606 | 602 | <i class="material-icons">search</i> |
| 607 | 603 | </button> |
| 608 | 604 | </div> |
| 609 | - <div class="<?php echo $objBotoesHtml["identifica"];?>" onclick="i3GEO.guias.ativa('identificaBalao',this)" style="margin-top: 3px;"> | |
| 610 | - <button title="{{{iconeBalao}}}" class="btn btn-default iconeGuiaMovel" style="margin: 2px; color: white; box-shadow: none;"> | |
| 605 | + <div class="<?php echo $objBotoesHtml["identifica"];?>" onclick="i3GEO.guias.ativa('identificaBalao',this)" > | |
| 606 | + <button title="{{{iconeBalao}}}" class="iconeGuiaMovel" style="color: white; box-shadow: none;"> | |
| 611 | 607 | <i class="material-icons">location_on</i> |
| 612 | 608 | </button> |
| 613 | 609 | </div> |
| 614 | - <!-- A opcao de identificacao esta integrada ao balao de informacoes, mas pode aparecer aqui tambem | |
| 615 | - <div class="hidden-xs hidden-sm" onclick="i3GEO.guias.ativa('identifica',this)" style="margin-top: 3px;"> | |
| 616 | - <button title="{{{iconeIdentifica}}}" class="btn btn-default iconeGuiaMovel" style="box-shadow: none;"> | |
| 617 | - <img src="../imagens/gisicons/pointer-info.png" style="cursor: pointer; padding: 3px;"> | |
| 618 | - </button> | |
| 619 | - </div> | |
| 620 | - --> | |
| 610 | + <!-- A opcao de identificacao esta integrada ao balao de informacoes, mas pode aparecer aqui tambem | |
| 611 | + <div class="hidden-xs hidden-sm" onclick="i3GEO.guias.ativa('identifica',this)" style="margin-top: 3px;"> | |
| 612 | + <button title="{{{iconeIdentifica}}}" class="iconeGuiaMovel" style="box-shadow: none;"> | |
| 613 | + <img src="../imagens/gisicons/pointer-info.png" style="cursor: pointer; padding: 3px;"> | |
| 614 | + </button> | |
| 621 | 615 | </div> |
| 622 | - <!-- veja i3GEO.guias.CONFIGURA --> | |
| 623 | - <!-- Os IDs sao definidos no botao que ativa a guia veja: "i3GEOguiaMovel" --> | |
| 624 | - <!-- se height nao estiver definido sera utilizada a altura do mapa --> | |
| 625 | - <div id="i3GEOguiaMovelMolde"> | |
| 626 | - <div id="i3GEOguiaMovelConteudo"> | |
| 627 | - <!-- camadas existentes no mapa --> | |
| 628 | - <div id='guia1obj' data-traduzir="true" style='display: none;'> | |
| 629 | - <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');"> | |
| 630 | - <span class="pull-left">{{{iconeMapa}}}</span>X | |
| 631 | - </div> | |
| 632 | - <div class="separadorCabecalhoGuias"> </div> | |
| 616 | + --> | |
| 617 | + </div> | |
| 618 | + <!-- veja i3GEO.guias.CONFIGURA --> | |
| 619 | + <!-- Os IDs sao definidos no botao que ativa a guia veja: "i3GEOguiaMovel" --> | |
| 620 | + <!-- se height nao estiver definido sera utilizada a altura do mapa --> | |
| 621 | + <div id="i3GEOguiaMovelMolde"> | |
| 622 | + <div id="i3GEOguiaMovelConteudo"> | |
| 623 | + <!-- camadas existentes no mapa --> | |
| 624 | + <div id='guia1obj' data-traduzir="true" style='display: none;'> | |
| 625 | + <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');"> | |
| 626 | + <button> | |
| 627 | + <span class="pull-left">{{{iconeMapa}}}</span> | |
| 628 | + <span class="pull-right material-icons">cancel</span> | |
| 629 | + </button> | |
| 630 | + </div> | |
| 631 | + <div class="separadorCabecalhoGuias"> </div> | |
| 632 | + <div class="guiaOverflow"> | |
| 633 | 633 | <div class="list-group condensed noprint"> |
| 634 | - <label>{{{opcoes}}}</label> <a data-target="#opcoesGuia1" class="btn btn-sm btn-primary pull-right" style="margin-top: 0px; padding-top: 0px; padding-bottom: 0px;" | |
| 635 | - type="button" data-toggle="collapse"> <span class="caret"></span> | |
| 634 | + <label>{{{opcoes}}}</label> | |
| 635 | + <a data-target="#opcoesGuia1" class="btn btn-sm btn-primary pull-right" style="margin-top: 0px; padding-top: 0px; padding-bottom: 0px;" type="button" data-toggle="collapse"> | |
| 636 | + <span class="caret"></span> | |
| 636 | 637 | </a> |
| 637 | 638 | <div class="text-left collapse" id="opcoesGuia1" style="margin-left: 30px;"> |
| 638 | 639 | <p> |
| ... | ... | @@ -668,13 +669,15 @@ function ajuda() |
| 668 | 669 | <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> |
| 669 | 670 | <div id="listaTemas" style="overflow: none;" data-template="../interface/templates/camada.html"></div> |
| 670 | 671 | <!-- Esta div acrescenta a lista de de camadas de fundo |
| 671 | - A lista de camadas de fundo e obtida da variavel i3GEO.Interface.openlayers.LAYERSADICIONAIS | |
| 672 | - Essa variavel e definida via javascript, e no caso das interfaces padrao do i3Geo, e definida | |
| 673 | - no programa interface/config.php | |
| 674 | - --> | |
| 672 | + A lista de camadas de fundo e obtida da variavel i3GEO.Interface.openlayers.LAYERSADICIONAIS | |
| 673 | + Essa variavel e definida via javascript, e no caso das interfaces padrao do i3Geo, e definida | |
| 674 | + no programa interface/config.php | |
| 675 | + --> | |
| 675 | 676 | <div class="list-group condensed"> |
| 676 | - <label>Camadas de fundo</label> <a data-target="#collapseFundo" class="btn btn-sm btn-primary pull-right" style="margin-top: 0px; padding-top: 0px; padding-bottom: 0px;" | |
| 677 | - type="button" data-toggle="collapse"> <span class="caret"></span> | |
| 677 | + <label>{{{camadasDeFundo}}}</label> | |
| 678 | + <a data-target="#collapseFundo" class="btn btn-sm btn-primary pull-right" style="margin-top: 0px; padding-top: 0px; padding-bottom: 0px;" type="button" | |
| 679 | + data-toggle="collapse"> | |
| 680 | + <span class="caret"></span> | |
| 678 | 681 | </a> |
| 679 | 682 | <div style="margin-left: 0px;" class="collapse text-left" id="collapseFundo"> |
| 680 | 683 | <form> |
| ... | ... | @@ -683,20 +686,27 @@ function ajuda() |
| 683 | 686 | </div> |
| 684 | 687 | </div> |
| 685 | 688 | </div> |
| 686 | - <!-- Catalogo de temas --> | |
| 687 | - <div id='guia2obj' data-traduzir="true" style='display: none; text-align: left;'> | |
| 688 | - <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');i3GEO.catalogoMenus.mostraCatalogoPrincipal();"> | |
| 689 | - <span class="pull-left">{{{iconeCatalogo}}}</span> X | |
| 690 | - </div> | |
| 691 | - <div class="separadorCabecalhoGuias"> </div> | |
| 689 | + </div> | |
| 690 | + <!-- Catalogo de temas --> | |
| 691 | + <div id='guia2obj' data-traduzir="true" style='display: none; text-align: left;'> | |
| 692 | + <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');i3GEO.catalogoMenus.mostraCatalogoPrincipal();"> | |
| 693 | + <button> | |
| 694 | + <span class="pull-left">{{{iconeCatalogo}}}</span> | |
| 695 | + <span class="pull-right material-icons">cancel</span> | |
| 696 | + </button> | |
| 697 | + </div> | |
| 698 | + <div class="separadorCabecalhoGuias"> </div> | |
| 699 | + <div class="guiaOverflow"> | |
| 692 | 700 | <!-- aqui entra a lista de elementos quando uma das opcoes e clicada --> |
| 693 | 701 | <div id="catalogoMigalha" data-template="../interface/templates/catalogoMigalha.html"></div> |
| 694 | 702 | <div id="catalogoNavegacao"></div> |
| 695 | 703 | <!-- Opcoes --> |
| 696 | 704 | <div id="catalogoPrincipal"> |
| 697 | 705 | <div class="list-group condensed noprint"> |
| 698 | - <label>{{{opcoes}}}</label> <a data-target="#opcoesGuia2" class="btn btn-sm btn-primary pull-right" style="margin-top: 0px; padding-top: 0px; padding-bottom: 0px;" | |
| 699 | - type="button" data-toggle="collapse"> <span class="caret"></span> | |
| 706 | + <label>{{{opcoes}}}</label> | |
| 707 | + <a data-target="#opcoesGuia2" class="btn btn-sm btn-primary pull-right" style="margin-top: 0px; padding-top: 0px; padding-bottom: 0px;" type="button" | |
| 708 | + data-toggle="collapse"> | |
| 709 | + <span class="caret"></span> | |
| 700 | 710 | </a> |
| 701 | 711 | <div class="text-left collapse" id="opcoesGuia2" style="margin-left: 30px;"> |
| 702 | 712 | <p> |
| ... | ... | @@ -733,56 +743,58 @@ function ajuda() |
| 733 | 743 | <p> |
| 734 | 744 | <a href="http://localhost/i3geo/kml.php?tipoxml=kml" target="_blank">{{{a13}}}</a> |
| 735 | 745 | </p> |
| 736 | - | |
| 737 | 746 | </div> |
| 738 | 747 | </div> |
| 739 | 748 | <hr> |
| 740 | 749 | <!-- busca tema no catalogo |
| 741 | - <div class="form-group label-floating"> | |
| 742 | - <label class="control-label" for="i3GEObuscatema">{{{a1}}}</label> | |
| 743 | - <div class="input-group"> | |
| 744 | - <input id="i3GEObuscatema" class="form-control" type="text" value=""> | |
| 745 | - <span class="input-group-btn"> | |
| 746 | - <a onclick="i3GEO.arvoreDeTemas.buscaTema2($i('i3GEObuscatema').value);return false;" role="button" type="button" class="btn btn-warning btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 747 | - <span class="material-icons ">send</span> | |
| 748 | - </a> | |
| 749 | - </span> | |
| 750 | - </div> | |
| 751 | - </div> | |
| 752 | - --> | |
| 750 | + <div class="form-group label-floating"> | |
| 751 | + <label class="control-label" for="i3GEObuscatema">{{{a1}}}</label> | |
| 752 | + <div class="input-group"> | |
| 753 | + <input id="i3GEObuscatema" class="form-control" type="text" value=""> | |
| 754 | + <span class="input-group-btn"> | |
| 755 | + <a onclick="i3GEO.arvoreDeTemas.buscaTema2($i('i3GEObuscatema').value);return false;" role="button" type="button" class="btn btn-warning btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 756 | + <span class="material-icons ">send</span> | |
| 757 | + </a> | |
| 758 | + </span> | |
| 759 | + </div> | |
| 760 | + </div> | |
| 761 | + --> | |
| 753 | 762 | <!-- A lista de menus e uma funcao de i3GEO.guias.CONFIGURA.adiciona |
| 754 | - Nessa funcao ficam tambem os parametros: | |
| 755 | - "idOndeMenus": "catalogoMenus", | |
| 756 | - "idCatalogoPrincipal": "catalogoPrincipal", | |
| 757 | - "idCatalogoNavegacao": "catalogoNavegacao", | |
| 758 | - "idOndeMigalha": "catalogoMigalha" | |
| 759 | - --> | |
| 763 | + Nessa funcao ficam tambem os parametros: | |
| 764 | + "idOndeMenus": "catalogoMenus", | |
| 765 | + "idCatalogoPrincipal": "catalogoPrincipal", | |
| 766 | + "idCatalogoNavegacao": "catalogoNavegacao", | |
| 767 | + "idOndeMigalha": "catalogoMigalha" | |
| 768 | + --> | |
| 760 | 769 | <div id="catalogoMenus" data-templateDir="../interface/templates/dir.html" data-templateTema="../interface/templates/tema.html"></div> |
| 761 | 770 | |
| 762 | 771 | <div id="arvoreAdicionaTema"></div> |
| 763 | 772 | |
| 764 | 773 | <!-- |
| 765 | - As funcoes de inicializacao recebem um objeto com parametros. Que por padrao sao: | |
| 766 | - config: { | |
| 767 | - 'templateDir': '../interface/templates/dir.html', | |
| 768 | - 'templateTema': '../interface/templates/tema.html', | |
| 769 | - 'idCatalogoPrincipal': 'catalogoPrincipal', | |
| 770 | - 'idCatalogoNavegacao': 'catalogoNavegacao', | |
| 771 | - 'idOndeMigalha': 'catalogoMigalha' | |
| 772 | - } | |
| 774 | + As funcoes de inicializacao recebem um objeto com parametros. Que por padrao sao: | |
| 775 | + config: { | |
| 776 | + 'templateDir': 'templates/dir.html', | |
| 777 | + 'templateTema': 'templates/tema.html', | |
| 778 | + 'idCatalogoPrincipal': 'catalogoPrincipal', | |
| 779 | + 'idCatalogoNavegacao': 'catalogoNavegacao', | |
| 780 | + 'idOndeMigalha': 'catalogoMigalha' | |
| 781 | + } | |
| 773 | 782 | |
| 774 | - exemplo: | |
| 783 | + exemplo: | |
| 775 | 784 | |
| 776 | - onclick="i3GEO.catalogoInde.inicia({'templateDir': '../interface/templates/dir.html','templateTema': '../interface/templates/tema.html','idCatalogoPrincipal':'catalogoPrincipal','idCatalogoNavegacao':'catalogoNavegacao','idOndeMigalha':'catalogoMigalha'})" | |
| 777 | - --> | |
| 785 | + onclick="i3GEO.catalogoInde.inicia({'templateDir': 'templates/dir.html','templateTema': 'templates/tema.html','idCatalogoPrincipal':'catalogoPrincipal','idCatalogoNavegacao':'catalogoNavegacao','idOndeMigalha':'catalogoMigalha'})" | |
| 786 | + --> | |
| 778 | 787 | |
| 779 | 788 | <!-- servicos da INDE brasileira --> |
| 780 | 789 | <div class="list-group condensed"> |
| 781 | 790 | <div class="row-content text-left"> |
| 782 | - <a onclick="i3GEO.catalogoInde.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 783 | - <label style="width: 255px; vertical-align: middle;"> <a onclick="i3GEO.catalogoInde.inicia()" role="button" href="javascript:void(0)"> | |
| 784 | - <h4>INDE-Br</h4> | |
| 791 | + <a onclick="i3GEO.catalogoInde.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 792 | + <span class="material-icons ">folder_open</span> | |
| 785 | 793 | </a> |
| 794 | + <label style="width: 255px; vertical-align: middle;"> | |
| 795 | + <a onclick="i3GEO.catalogoInde.inicia()" role="button" href="javascript:void(0)"> | |
| 796 | + <h4>INDE-Br</h4> | |
| 797 | + </a> | |
| 786 | 798 | <h6>Infraestrutura Nacional de Dados Espaciais do Brasil</h6> |
| 787 | 799 | </label> |
| 788 | 800 | </div> |
| ... | ... | @@ -791,11 +803,13 @@ function ajuda() |
| 791 | 803 | <!-- lista de wms cadastrados no sistema de administracao --> |
| 792 | 804 | <div class="list-group condensed"> |
| 793 | 805 | <div class="row-content text-left"> |
| 794 | - <a onclick="i3GEO.catalogoOgc.inicia();return false;" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span | |
| 795 | - class="material-icons ">folder_open</span></a> <label style="width: 255px; vertical-align: middle;"> <a onclick="i3GEO.catalogoOgc.inicia()" role="button" | |
| 796 | - href="javascript:void(0)"> | |
| 797 | - <h4>OGC-WMS</h4> | |
| 806 | + <a onclick="i3GEO.catalogoOgc.inicia();return false;" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 807 | + <span class="material-icons ">folder_open</span> | |
| 798 | 808 | </a> |
| 809 | + <label style="width: 255px; vertical-align: middle;"> | |
| 810 | + <a onclick="i3GEO.catalogoOgc.inicia()" role="button" href="javascript:void(0)"> | |
| 811 | + <h4>OGC-WMS</h4> | |
| 812 | + </a> | |
| 799 | 813 | <h6>{{{descOgcWms}}}</h6> |
| 800 | 814 | </label> |
| 801 | 815 | </div> |
| ... | ... | @@ -804,10 +818,13 @@ function ajuda() |
| 804 | 818 | <!-- regioes cadastradas no sistema de metadados --> |
| 805 | 819 | <div class="list-group condensed"> |
| 806 | 820 | <div class="row-content text-left"> |
| 807 | - <a onclick="i3GEO.catalogoRegioes.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 808 | - <label style="width: 255px; vertical-align: middle;"> <a onclick="i3GEO.catalogoRegioes.inicia()" role="button" href="javascript:void(0)"> | |
| 809 | - <h4>{{{x87}}}</h4> | |
| 821 | + <a onclick="i3GEO.catalogoRegioes.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 822 | + <span class="material-icons ">folder_open</span> | |
| 810 | 823 | </a> |
| 824 | + <label style="width: 255px; vertical-align: middle;"> | |
| 825 | + <a onclick="i3GEO.catalogoRegioes.inicia()" role="button" href="javascript:void(0)"> | |
| 826 | + <h4>{{{x87}}}</h4> | |
| 827 | + </a> | |
| 811 | 828 | <h6>{{{descLimLoc}}}</h6> |
| 812 | 829 | </label> |
| 813 | 830 | </div> |
| ... | ... | @@ -816,33 +833,38 @@ function ajuda() |
| 816 | 833 | <!-- camadas que vem do sistema de metadados estatisticos --> |
| 817 | 834 | <div class="list-group condensed"> |
| 818 | 835 | <div class="row-content text-left"> |
| 819 | - <a onclick="i3GEO.catalogoMetaestat.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 820 | - <label style="width: 255px; vertical-align: middle;"> <a onclick="i3GEO.catalogoMetaestat.inicia()" role="button" href="javascript:void(0)"> | |
| 821 | - <h4>{{{x57}}}</h4> | |
| 836 | + <a onclick="i3GEO.catalogoMetaestat.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 837 | + <span class="material-icons ">folder_open</span> | |
| 822 | 838 | </a> |
| 839 | + <label style="width: 255px; vertical-align: middle;"> | |
| 840 | + <a onclick="i3GEO.catalogoMetaestat.inicia()" role="button" href="javascript:void(0)"> | |
| 841 | + <h4>{{{x57}}}</h4> | |
| 842 | + </a> | |
| 823 | 843 | <h6>{{{descMeta}}}</h6> |
| 824 | 844 | </label> |
| 825 | 845 | </div> |
| 826 | 846 | </div> |
| 827 | 847 | <hr> |
| 828 | 848 | <!-- mapas cadastrados no sistema de administracao (nao funcional) |
| 829 | - <div class="list-group condensed"><div class="row-content text-left"> | |
| 830 | - <a onclick="i3GEO.catalogoMapas.inicia({'seletorTemplateDir': '#guia2objTemplateDir','seletorTemplateTema': '#guia2objTemplateTema','idCatalogoPrincipal':'catalogoPrincipal','idCatalogoNavegacao':'catalogoNavegacao','idOndeMigalha':'catalogoMigalha'})" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 831 | - <label style="width: 255px;vertical-align: middle;"> | |
| 832 | - <a onclick="i3GEO.catalogoMapas.inicia({'seletorTemplateDir': '#guia2objTemplateDir','seletorTemplateTema': '#guia2objTemplateTema','idCatalogoPrincipal':'catalogoPrincipal','idCatalogoNavegacao':'catalogoNavegacao','idOndeMigalha':'catalogoMigalha'})" role="button" href="javascript:void(0)"> | |
| 833 | - <h4>{{{x90}}}</h4></a> | |
| 834 | - <h6>{{{descMapas}}}</h6> | |
| 835 | - </label> | |
| 836 | - </div></div><hr> | |
| 837 | - --> | |
| 849 | + <div class="list-group condensed"><div class="row-content text-left"> | |
| 850 | + <a onclick="i3GEO.catalogoMapas.inicia({'seletorTemplateDir': '#guia2objTemplateDir','seletorTemplateTema': '#guia2objTemplateTema','idCatalogoPrincipal':'catalogoPrincipal','idCatalogoNavegacao':'catalogoNavegacao','idOndeMigalha':'catalogoMigalha'})" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 851 | + <label style="width: 255px;vertical-align: middle;"> | |
| 852 | + <a onclick="i3GEO.catalogoMapas.inicia({'seletorTemplateDir': '#guia2objTemplateDir','seletorTemplateTema': '#guia2objTemplateTema','idCatalogoPrincipal':'catalogoPrincipal','idCatalogoNavegacao':'catalogoNavegacao','idOndeMigalha':'catalogoMigalha'})" role="button" href="javascript:void(0)"> | |
| 853 | + <h4>{{{x90}}}</h4></a> | |
| 854 | + <h6>{{{descMapas}}}</h6> | |
| 855 | + </label> | |
| 856 | + </div></div><hr> | |
| 857 | + --> | |
| 838 | 858 | <!-- camadas por estrelas --> |
| 839 | 859 | <div class="list-group condensed"> |
| 840 | 860 | <div class="row-content text-left"> |
| 841 | - <a onclick="i3GEO.catalogoEstrelas.inicia({'valorEstrela':5,'numEstrelas':1})" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span | |
| 842 | - class="material-icons ">folder_open</span></a> <label style="width: 255px; vertical-align: middle;"> <a | |
| 843 | - onclick="i3GEO.catalogoEstrelas.inicia({'valorEstrela':5,'numEstrelas':1})" role="button" href="javascript:void(0)"> | |
| 844 | - <h4>{{{t46}}}</h4> | |
| 861 | + <a onclick="i3GEO.catalogoEstrelas.inicia({'valorEstrela':5,'numEstrelas':1})" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 862 | + <span class="material-icons ">folder_open</span> | |
| 845 | 863 | </a> |
| 864 | + <label style="width: 255px; vertical-align: middle;"> | |
| 865 | + <a onclick="i3GEO.catalogoEstrelas.inicia({'valorEstrela':5,'numEstrelas':1})" role="button" href="javascript:void(0)"> | |
| 866 | + <h4>{{{t46}}}</h4> | |
| 867 | + </a> | |
| 846 | 868 | <h6>{{{descEstrelas}}}</h6> |
| 847 | 869 | </label> |
| 848 | 870 | </div> |
| ... | ... | @@ -851,10 +873,13 @@ function ajuda() |
| 851 | 873 | <!-- sistemas que adicionam camadas --> |
| 852 | 874 | <div class="list-group condensed"> |
| 853 | 875 | <div class="row-content text-left"> |
| 854 | - <a onclick="i3GEO.catalogoSistemas.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 855 | - <label style="width: 255px; vertical-align: middle;"> <a onclick="i3GEO.catalogoSistemas.inicia()" role="button" href="javascript:void(0)"> | |
| 856 | - <h4>{{{a11}}}</h4> | |
| 876 | + <a onclick="i3GEO.catalogoSistemas.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 877 | + <span class="material-icons ">folder_open</span> | |
| 857 | 878 | </a> |
| 879 | + <label style="width: 255px; vertical-align: middle;"> | |
| 880 | + <a onclick="i3GEO.catalogoSistemas.inicia()" role="button" href="javascript:void(0)"> | |
| 881 | + <h4>{{{a11}}}</h4> | |
| 882 | + </a> | |
| 858 | 883 | <h6>{{{descSistemas}}}</h6> |
| 859 | 884 | </label> |
| 860 | 885 | </div> |
| ... | ... | @@ -863,10 +888,13 @@ function ajuda() |
| 863 | 888 | <!-- navegacao em diretorios --> |
| 864 | 889 | <div class="list-group condensed"> |
| 865 | 890 | <div class="row-content text-left"> |
| 866 | - <a onclick="i3GEO.catalogoDir.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"><span class="material-icons ">folder_open</span></a> | |
| 867 | - <label style="width: 255px; vertical-align: middle;"> <a onclick="i3GEO.catalogoDir.inicia()" role="button" href="javascript:void(0)"> | |
| 868 | - <h4>{{{a6}}}</h4> | |
| 891 | + <a onclick="i3GEO.catalogoDir.inicia()" role="button" class="btn btn-primary btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 892 | + <span class="material-icons ">folder_open</span> | |
| 869 | 893 | </a> |
| 894 | + <label style="width: 255px; vertical-align: middle;"> | |
| 895 | + <a onclick="i3GEO.catalogoDir.inicia()" role="button" href="javascript:void(0)"> | |
| 896 | + <h4>{{{a6}}}</h4> | |
| 897 | + </a> | |
| 870 | 898 | <h6>{{{descDir}}}</h6> |
| 871 | 899 | </label> |
| 872 | 900 | </div> |
| ... | ... | @@ -874,36 +902,48 @@ function ajuda() |
| 874 | 902 | <hr> |
| 875 | 903 | </div> |
| 876 | 904 | </div> |
| 877 | - <!-- Legenda --> | |
| 878 | - <div data-traduzir="true" id='guia4obj' style='display: none; text-align: left'> | |
| 879 | - <div class="i3GEOfechaGuia" onclick="i3GEO.legenda.off('legendaHtml');i3GEO.guias.abreFecha('fecha');"> | |
| 880 | - <span class="pull-left">{{{iconeLegenda}}}</span>X | |
| 881 | - </div> | |
| 882 | - <div class="separadorCabecalhoGuias"> </div> | |
| 905 | + </div> | |
| 906 | + <!-- Legenda --> | |
| 907 | + <div data-traduzir="true" id='guia4obj' style='display: none; text-align: left'> | |
| 908 | + <div class="i3GEOfechaGuia" onclick="i3GEO.legenda.off('legendaHtml');i3GEO.guias.abreFecha('fecha');"> | |
| 909 | + <button> | |
| 910 | + <span class="pull-left">{{{iconeLegenda}}}</span> | |
| 911 | + <span class="pull-right material-icons">cancel</span> | |
| 912 | + </button> | |
| 913 | + </div> | |
| 914 | + <div class="separadorCabecalhoGuias"> </div> | |
| 915 | + <div class="guiaOverflow"> | |
| 883 | 916 | <a href='javascript:void(0)' onclick="i3GEO.legenda.inicia({'janela':true})">{{{x11}}}</a> |
| 884 | 917 | <div id="legendaHtml" data-template="../interface/templates/legenda.html" data-size="35,25" style='display: none; text-align: left'></div> |
| 885 | 918 | </div> |
| 886 | - <!-- busca | |
| 887 | - Funcoes de busca por registros. Pode ser feita nos temas existentes no mapa, em um servico de busca e no google | |
| 888 | - No botao que dispara a busca, ficam os parametros de configuracao | |
| 889 | - Esses parametros indicam qual o checkbox que define o tipo de busca, o local onde os dados serao mostrados e o template para formatar o resultado | |
| 890 | - --> | |
| 891 | - <div data-traduzir="true" id='guia7obj' style='display: none; text-align: left'> | |
| 892 | - <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');"> | |
| 893 | - <span class="pull-left">{{{t23}}}</span> X | |
| 894 | - </div> | |
| 895 | - <div class="separadorCabecalhoGuias"> </div> | |
| 919 | + </div> | |
| 920 | + <!-- busca | |
| 921 | + Funcoes de busca por registros. Pode ser feita nos temas existentes no mapa, em um servico de busca e no google | |
| 922 | + No botao que dispara a busca, ficam os parametros de configuracao | |
| 923 | + Esses parametros indicam qual o checkbox que define o tipo de busca, o local onde os dados serao mostrados e o template para formatar o resultado | |
| 924 | + --> | |
| 925 | + <div data-traduzir="true" id='guia7obj' style='display: none; text-align: left'> | |
| 926 | + <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');"> | |
| 927 | + <button> | |
| 928 | + <span class="pull-left">{{{t23}}}</span> | |
| 929 | + <span class="pull-right material-icons">cancel</span> | |
| 930 | + </button> | |
| 931 | + </div> | |
| 932 | + <div class="separadorCabecalhoGuias"> </div> | |
| 933 | + <div class="guiaOverflow"> | |
| 896 | 934 | <form onSubmit="return false;"> |
| 897 | 935 | <div class="form-group label-floating"> |
| 898 | 936 | <label class="control-label" for="valorBuscaRapida">{{{x36}}}</label> |
| 899 | 937 | <div class="input-group"> |
| 900 | - <input class="form-control" type="text" value="" name="valorBuscaRapida"> <span class="input-group-btn"> <a onclick="i3GEO.busca.inicia(this);return false;" | |
| 901 | - data-templateGoogle="../interface/templates/buscaEmTemas.html" data-inputGoogle="[name=google]" data-ondeGoogle=".i3GEOresultadoBuscaGoogle" | |
| 902 | - data-templateTemasMapa="../interface/templates/buscaEmTemas.html" data-inputTemasMapa="[name=temasMapa]" data-ondeTemasMapa=".i3GEOresultadoBuscaTemasMapa" | |
| 903 | - data-templateServico="../interface/templates/buscaEmServico.html" data-ondeConteiner="#guia7obj" data-inputOndePalavra="[name=valorBuscaRapida]" | |
| 904 | - data-inputServicosExternos="[name=servicosExternos]" data-ondeServicosExternos=".i3GEOresultadoBuscaServicos" role="button" type="button" | |
| 905 | - class="btn btn-warning btn-fab btn-fab-max" href="javascript:void(0)"> <span class="material-icons ">send</span> | |
| 906 | - </a> | |
| 938 | + <input class="form-control" type="text" value="" name="valorBuscaRapida"> | |
| 939 | + <span class="input-group-btn"> | |
| 940 | + <a onclick="i3GEO.busca.inicia(this);return false;" data-templateGoogle="../interface/templates/buscaEmTemas.html" data-inputGoogle="[name=google]" | |
| 941 | + data-ondeGoogle=".i3GEOresultadoBuscaGoogle" data-templateTemasMapa="../interface/templates/buscaEmTemas.html" data-inputTemasMapa="[name=temasMapa]" | |
| 942 | + data-ondeTemasMapa=".i3GEOresultadoBuscaTemasMapa" data-templateServico="../interface/templates/buscaEmServico.html" data-ondeConteiner="#guia7obj" | |
| 943 | + data-inputOndePalavra="[name=valorBuscaRapida]" data-inputServicosExternos="[name=servicosExternos]" | |
| 944 | + data-ondeServicosExternos=".i3GEOresultadoBuscaServicos" role="button" type="button" class="btn btn-warning btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 945 | + <span class="material-icons ">send</span> | |
| 946 | + </a> | |
| 907 | 947 | </span> |
| 908 | 948 | </div> |
| 909 | 949 | </div> |
| ... | ... | @@ -911,27 +951,30 @@ function ajuda() |
| 911 | 951 | <div class="form-inline" style="width: 100%;"> |
| 912 | 952 | <div class="list-group condensed"> |
| 913 | 953 | <div class="checkbox text-left"> |
| 914 | - <label> <input checked class="noprint" value="on" type="checkbox" value="" name="servicosExternos"> <span class="checkbox-material noprint"><span class="check"></span></span> | |
| 954 | + <label> | |
| 955 | + <input checked class="noprint" value="on" type="checkbox" value="" name="servicosExternos"> | |
| 915 | 956 | {{{x38}}} |
| 916 | 957 | </label> |
| 917 | 958 | </div> |
| 918 | 959 | </div> |
| 919 | 960 | <div class="list-group condensed"> |
| 920 | 961 | <div class="checkbox text-left"> |
| 921 | - <label> <input class="noprint" value="on" type="checkbox" name="temasMapa"> <span class="checkbox-material noprint"><span class="check"></span></span> {{{x39}}} | |
| 962 | + <label> | |
| 963 | + <input class="noprint" value="on" type="checkbox" name="temasMapa"> | |
| 964 | + {{{x39}}} | |
| 922 | 965 | </label> |
| 923 | 966 | </div> |
| 924 | 967 | </div> |
| 925 | 968 | <!-- Apenas para a interface google maps |
| 926 | - <div class="list-group condensed"> | |
| 927 | - <div class="checkbox text-left"> | |
| 928 | - <label> | |
| 929 | - <input class="noprint" value="on" type="checkbox" name="google"> | |
| 930 | - <span class="checkbox-material noprint"><span class="check"></span></span> Google | |
| 931 | - </label> | |
| 932 | - </div> | |
| 933 | - </div> | |
| 934 | - --> | |
| 969 | + <div class="list-group condensed"> | |
| 970 | + <div class="checkbox text-left"> | |
| 971 | + <label> | |
| 972 | + <input class="noprint" value="on" type="checkbox" name="google"> | |
| 973 | + <span class="checkbox-material noprint"><span class="check"></span></span> Google | |
| 974 | + </label> | |
| 975 | + </div> | |
| 976 | + </div> | |
| 977 | + --> | |
| 935 | 978 | </div> |
| 936 | 979 | </form> |
| 937 | 980 | <hr> |
| ... | ... | @@ -940,34 +983,39 @@ function ajuda() |
| 940 | 983 | <div class="i3GEOresultadoBuscaGoogle"></div> |
| 941 | 984 | <div class="alert alert-info" role="alert">{{{x40}}}</div> |
| 942 | 985 | </div> |
| 943 | - <!-- Ferramentas --> | |
| 944 | - <div data-traduzir="true" id='guia8obj' style='display: none; text-align: left'> | |
| 945 | - <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');"> | |
| 946 | - <span class="pull-left">{{{iconeFerramentas}}}</span> X | |
| 947 | - </div> | |
| 948 | - <div class="separadorCabecalhoGuias"> </div> | |
| 986 | + </div> | |
| 987 | + <!-- Ferramentas --> | |
| 988 | + <div data-traduzir="true" id='guia8obj' style='display: none; text-align: left'> | |
| 989 | + <div class="i3GEOfechaGuia" onclick="i3GEO.guias.abreFecha('fecha');"> | |
| 990 | + <button> | |
| 991 | + <span class="pull-left">{{{iconeFerramentas}}}</span> | |
| 992 | + <span class="pull-right material-icons">cancel</span> | |
| 993 | + </button> | |
| 994 | + </div> | |
| 995 | + <div class="separadorCabecalhoGuias"> </div> | |
| 996 | + <div class="guiaOverflow"> | |
| 949 | 997 | <div class="form-inline" style="width: 100%;"> |
| 950 | 998 | <div class="text-center form-group" style="margin: 4px;"> |
| 951 | - <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.analise.dialogo.area();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> <img | |
| 952 | - style="margin-top: 4px;" src="../imagens/gisicons/area-measure.png"> | |
| 999 | + <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.analise.dialogo.area();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 1000 | + <img style="margin-top: 4px;" src="../imagens/gisicons/area-measure.png"> | |
| 953 | 1001 | </a> |
| 954 | 1002 | <h6>{{{d21at}}}</h6> |
| 955 | 1003 | </div> |
| 956 | 1004 | <div class="text-center form-group" style="margin: 4px;"> |
| 957 | - <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.analise.dialogo.distancia();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> <img | |
| 958 | - style="margin-top: 4px;" src="../imagens/gisicons/length-measure.png"> | |
| 1005 | + <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.analise.dialogo.distancia();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 1006 | + <img style="margin-top: 4px;" src="../imagens/gisicons/length-measure.png"> | |
| 959 | 1007 | </a> |
| 960 | 1008 | <h6>{{{d21t}}}</h6> |
| 961 | 1009 | </div> |
| 962 | 1010 | <div class="text-center form-group" style="margin: 4px;"> |
| 963 | - <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.mapa.dialogo.selecao();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> <img | |
| 964 | - style="margin-top: 4px;" src="../imagens/gisicons/select.png"> | |
| 1011 | + <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.mapa.dialogo.selecao();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 1012 | + <img style="margin-top: 4px;" src="../imagens/gisicons/select.png"> | |
| 965 | 1013 | </a> |
| 966 | 1014 | <h6>{{{d24t}}}</h6> |
| 967 | 1015 | </div> |
| 968 | 1016 | <div class="text-center form-group" style="margin: 4px;"> |
| 969 | - <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.mapa.dialogo.geolocal();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> <img | |
| 970 | - style="margin-top: 4px;" src="../imagens/gisicons/layer-gps.png"> | |
| 1017 | + <a onclick="i3GEO.guias.abreFecha('fecha');i3GEO.mapa.dialogo.geolocal();" role="button" class="btn btn-success btn-fab btn-fab-max" href="javascript:void(0)"> | |
| 1018 | + <img style="margin-top: 4px;" src="../imagens/gisicons/layer-gps.png"> | |
| 971 | 1019 | </a> |
| 972 | 1020 | <h6>{{{localiza}}}</h6> |
| 973 | 1021 | </div> |
| ... | ... | @@ -982,6 +1030,7 @@ function ajuda() |
| 982 | 1030 | </div> |
| 983 | 1031 | </div> |
| 984 | 1032 | </div> |
| 1033 | + | |
| 985 | 1034 | <script> |
| 986 | 1035 | //desativa os layers de fundo |
| 987 | 1036 | $.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS, function( index, value ) { |
| ... | ... | @@ -1125,9 +1174,31 @@ function ajuda() |
| 1125 | 1174 | layerOpacity: <?php echo $opacidade; ?>, |
| 1126 | 1175 | //Funcao que sera executada apos a inicializacao do mapa |
| 1127 | 1176 | afterStart : function(){ |
| 1128 | - //$('.iconeGuiaMovel').tooltip({animation: false, trigger: "manual", placement: "left"}); | |
| 1129 | - //$('.iconeGuiaMovel').tooltip('show'); | |
| 1130 | - $("#i3GEOguiaMovelConteudo").mCustomScrollbar({scrollbarPosition: "outside",theme:"inset-2-dark"}); | |
| 1177 | + $('.iconeGuiaMovel').tooltip({ | |
| 1178 | + animation : false, | |
| 1179 | + trigger : "manual hover", | |
| 1180 | + placement : "left" | |
| 1181 | + }); | |
| 1182 | + $('.iconeGuiaMovel').tooltip('show'); | |
| 1183 | + setTimeout(function(){$('.iconeGuiaMovel').tooltip('hide');},5000); | |
| 1184 | + | |
| 1185 | + $('.ol-i3GEOcontrols button').tooltip({ | |
| 1186 | + animation : false, | |
| 1187 | + trigger : "hover", | |
| 1188 | + placement : "auto" | |
| 1189 | + }); | |
| 1190 | + | |
| 1191 | + $(".guiaOverflow").css("height", | |
| 1192 | + i3GEO.parametros.h - 60); | |
| 1193 | + $(".guiaOverflow").mCustomScrollbar({ | |
| 1194 | + scrollbarPosition : "inside", | |
| 1195 | + theme : "inset-2-dark" | |
| 1196 | + }); | |
| 1197 | + i3GEO.eventos.adicionaEventos("RESIZE", $( | |
| 1198 | + ".guiaOverflow").css("height", | |
| 1199 | + i3GEO.parametros.h - 60)); | |
| 1200 | + | |
| 1201 | + //$("#i3GEOguiaMovelConteudo").mCustomScrollbar({scrollbarPosition: "outside",theme:"inset-2-dark"}); | |
| 1131 | 1202 | adicionaBotoesEditor(); |
| 1132 | 1203 | $i("openlayers").style.backgroundColor = "rgb(245,245,245)"; |
| 1133 | 1204 | }, | ... | ... |
ms_configura.php
| ... | ... | @@ -262,7 +262,7 @@ No caso do SAIKU, verifique tambem se o programa i3geo/ferramentas/saiku/esquema |
| 262 | 262 | abrir e verificar o inicio desse arquivo). Veja tambem: i3geo/ferramentas/saiku/install.txt |
| 263 | 263 | */ |
| 264 | 264 | $statusFerramentas = array( |
| 265 | - "saiku"=>false, | |
| 265 | + "saiku"=>true, | |
| 266 | 266 | "melhorcaminho"=>false |
| 267 | 267 | ); |
| 268 | 268 | /* |
| ... | ... | @@ -318,7 +318,7 @@ inseretxt,mostraexten,outputformat,perfil,tipoimagem |
| 318 | 318 | |
| 319 | 319 | */ |
| 320 | 320 | //$i3geoBlFerramentas = array("saiku"); |
| 321 | -$i3geoBlFerramentas = array("saiku"); | |
| 321 | +$i3geoBlFerramentas = array(""); | |
| 322 | 322 | /* |
| 323 | 323 | Variable: $ogrOutput |
| 324 | 324 | ... | ... |