Revision 4914 arquivos_versoes/v60/saiku-server/tomcat/webapps/ROOT/js/saiku/plugins/i3GeoMap/plugin.js
plugin.js | ||
---|---|---|
326 | 326 |
}, |
327 | 327 |
calor: function(s){ |
328 | 328 |
this.opcoes.size = 10; |
329 |
$.fancybox("Escolha uma cor: "+this.cores()+
|
|
330 |
"Tamanho inicial do círculo (em pixels):<br><input type=text value='"+this.opcoes.size+"' size=6 id='raiosProporcionaisSize' />" +
|
|
329 |
$.fancybox("Raio de um ponto em pixels:<br><input type=text value='10' size=6 id='calorRaio' /><br>" +
|
|
330 |
"Valor máximo em cada ponto:<br><input type=text value='10' size=6 id='calorMax' /><br>" +
|
|
331 | 331 |
"<br>Coluna com os valores:<br>"+ |
332 | 332 |
"<select id='calorColuna' style='border:1px solid #BBBBBB;'>"+this.opcoesColunas()+"</select>" + |
333 | 333 |
"<br><input type=button value='OK' id='calorOk' />" + |
... | ... | |
348 | 348 |
s.opcoes.tipo = "calor"; |
349 | 349 |
//s.opcoes.size = document.getElementById("raiosProporcionaisSize").value; |
350 | 350 |
s.opcoes.indicecoluna = [parseInt(document.getElementById("calorColuna").value,10)]; |
351 |
var cor = $('input[name="colour"]').val();
|
|
352 |
s.opcoes.cores = [hex2rgb(cor)];
|
|
351 |
s.opcoes.raio = document.getElementById("calorRaio").value;
|
|
352 |
s.opcoes.max = document.getElementById("calorMax").value;
|
|
353 | 353 |
s.render(); |
354 | 354 |
$.fancybox.close(); |
355 | 355 |
}; |
... | ... | |
515 | 515 |
//preenche os dados do formulario |
516 | 516 |
this.opcoes.locaplic = parametroUrl("locaplic"); |
517 | 517 |
this.opcoes.mapext = parametroUrl("mapext"); |
518 |
//alert(JSON.stringify(this.opcoes)) |
|
518 | 519 |
document.getElementById("formi3GeoMapOpcoes").value = JSON.stringify(this.opcoes); |
519 | 520 |
document.getElementById("formi3GeoMapdados").value = JSON.stringify(dados); |
520 | 521 |
document.getElementById("formi3GeoMapmetadados").value = JSON.stringify(metadata); |
Also available in: Unified diff