Commit ad4e055efc4bd9cc4309b63ef8532f96ec4c8b96

Authored by Edmar Moretti
1 parent 7e084fed

--no commit message

ferramentas/saiku/cartograma.php
... ... @@ -16,6 +16,7 @@ session_start();
16 16 //obtem os layers que sao do sistema metaestat, sao regioes e que possuem selecao
17 17 $map_file = $_SESSION["map_file"];
18 18 //remove as camadas do SAIKU
  19 +$opcoes = (array) json_decode($_POST["opcoes"],true);
19 20 if($_POST["dados"] == ""){
20 21 $mapa = ms_newMapObj($map_file);
21 22 $nlayers = $mapa->numlayers;
... ... @@ -29,7 +30,6 @@ if($_POST["dados"] == ""){
29 30 }
30 31 else{
31 32 $dados = (array) json_decode($_POST["dados"],true);
32   - $opcoes = (array) json_decode($_POST["opcoes"],true);
33 33 $metadados = (array) json_decode($_POST["metadados"],true);
34 34 $nmetadados = count($metadados);
35 35 //pega o id da regiao (busca pelo posfixo geocod)
... ...
ferramentas/saiku/saiku-server/tomcat/webapps/ROOT/js/saiku/plugins/i3GeoMap/plugin.js
... ... @@ -99,7 +99,6 @@ var i3GeoMap = Backbone.View.extend({
99 99 document.getElementById('formi3GeoMap').submit();
100 100 },
101 101 reiniciarMapa: function(){
102   - document.getElementById('formi3GeoMapOpcoes').value = "reinicia";
103 102 document.getElementById('formi3GeoMapdados').value = "";
104 103 this.opcoes.locaplic = parametroUrl("locaplic");
105 104 this.opcoes.mapext = parametroUrl("mapext");
... ...