Commit e4ca91130305b6befe384898567cb3d11d5aaf91

Authored by Edmar Moretti
1 parent 9b97d72e

exemplo de painel baseado em um mapa salvo

Showing 1 changed file with 84 additions and 0 deletions   Show diff stats
exemplos/painel1.htm 0 → 100755
... ... @@ -0,0 +1,84 @@
  1 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2 +<html>
  3 +<head>
  4 +<meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile">
  5 +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  6 +<title>i3GEO - OpenLayers</title>
  7 +<script src="../classesjs/i3geonaocompacto.js"></script>
  8 +<script src="../pacotes/openlayers/OpenLayers2131.js"></script>
  9 +<link rel="stylesheet" type="text/css" href="../css/black.css">
  10 +</head>
  11 +<body style='margin-left:7px;background:white;' class=yui-skin-sam >
  12 +<div id="menuSuspenso" style="width:700px;">
  13 +</div>
  14 +<div>
  15 + <div id=i3geo >
  16 + <div id=corpoMapa style="top:1px;width:700px;height:650px;background-image:url('../imagens/i3geo1bw.jpg');">
  17 + </div>
  18 + </div>
  19 +</div>
  20 +<div id="graficoi5004" style="position:relative;width:500px;left:720px;box-shadow:2px 1px 5px 1px lightgray;">
  21 + <div id="graficoi5004_corpo" style="width:500px;height:300px;"></div>
  22 +</div>
  23 +<div id="graficoi446834" style="top:50px;position:relative;width:500px;left:720px;box-shadow:2px 1px 5px 1px lightgray;">
  24 + <div id="graficoi446834_corpo" style="width:500px;height:300px;"></div>
  25 +</div>
  26 +<style>
  27 +#menuSuspenso .bd{
  28 + background: black;
  29 +}
  30 +</style>
  31 +<script>
  32 +//(graficoi446834)
  33 +/************
  34 +
  35 +Para testar utilize:
  36 +http://localhost/i3geo/ms_criamapa.php?mapext=&perfil=&temasa=&layers=&restauramapa=8&interface=exemplos/painel1.htm
  37 +
  38 +Para funcionar, depende do mapa 8, salvo com dois graficos
  39 +
  40 +************/
  41 +
  42 +i3GEO.idioma.MOSTRASELETOR = false; //para nao mostrar as bandeiras de escolha do idioma
  43 +i3GEO.configura.mapaRefDisplay = "none";//nao mostra o mapa de referencia
  44 +//parametros da interface OpenLayers
  45 +i3GEO.Interface.openlayers.GADGETS = {
  46 + PanZoomBar : false,
  47 + PanZoom : false,
  48 + LayerSwitcher : false,
  49 + ScaleLine : true,
  50 + OverviewMap : false
  51 +};
  52 +//parametros para o menu
  53 +i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso = {
  54 + permiteLogin: true,
  55 + marcadores: true,
  56 + idhtml:"menuSuspenso",
  57 + deslocaEsquerda:0,
  58 + parametrosYUI: {iframe:false,autosubmenudisplay: false, showdelay: 200, hidedelay: 500, lazyload: false}
  59 + };
  60 +
  61 +i3GEO.configura.oMenuData = {
  62 + menu:[
  63 + {nome:$trad("s1"),id:"ajudaMenu"}
  64 + ],
  65 + submenus:{
  66 + "ajudaMenu": [
  67 + { id:"omenudataAjudamenu9",text: $trad("x68"), url: "javascript:i3GEO.janela.tempoMsg(i3GEO.parametros.mensageminicia)" },
  68 + { id:"omenudataAjudamenu2",text: $trad("u2"), url: "javascript:i3GEO.ajuda.abreDoc()" },
  69 + { id:"omenudataAjudamenu3",text: $trad("u4a"), url: "javascript:i3GEO.ajuda.abreDoc('/documentacao/manual-i3geo-6_0-pt.pdf')" },
  70 + { id:"omenudataAjudamenu4",text: $trad("u4"), url: "http://www.softwarepublico.gov.br/dotlrn/clubs/i3geo/file-storage/index?folder%5fid=22667525", target:"_blank" },
  71 + { id:"omenudataAjudamenu5",text: $trad("u5a"), url: "http://www.softwarepublico.gov.br", target:"_blank" },
  72 + { id:"omenudataAjudamenu1",text: $trad("x67"), url: "http://www.softwarepublico.gov.br/spb/ver-comunidade?community_id=1444332", target:"_blank" },
  73 + { id:"omenudataAjudamenu7",text: $trad("u5b"), url: "javascript:i3GEO.ajuda.abreDoc('/ajuda_usuario.php')"},
  74 + { id:"omenudataAjudamenu8",text: $trad("u5c"), url: "javascript:i3GEO.ajuda.redesSociais()" }
  75 + ]
  76 + }
  77 +};
  78 +
  79 +i3GEO.cria();
  80 +i3GEO.inicia();
  81 +
  82 +</script>
  83 +</body>
  84 +</html>
... ...