Commit 7ad3636b81fca27993cbdbe9202603c725d687d5
1 parent
93fc8ba2
Exists in
master
and in
7 other branches
Inclusão de ícones do Oxygen
Showing
1 changed file
with
12 additions
and
13 deletions
Show diff stats
ferramentas/graficointerativo/exec.php
@@ -7,22 +7,21 @@ $retorno = ""; //string que será retornada ao browser via JSON | @@ -7,22 +7,21 @@ $retorno = ""; //string que será retornada ao browser via JSON | ||
7 | switch (strtoupper($funcao)) | 7 | switch (strtoupper($funcao)) |
8 | { | 8 | { |
9 | /* | 9 | /* |
10 | -Valor: GRADEDEPONTOS | 10 | +Valor: GRAFICOSELECAO |
11 | 11 | ||
12 | -Gera uma grade de pontos com espaçamento regular definido em décimos de grau. | 12 | +Pega os dados necessários para a geração dos gráficos da ferramenta seleção |
13 | 13 | ||
14 | -Salva o mapa acrescentando um novo layer com a grade de coordenadas. | ||
15 | - | ||
16 | -<Analise->gradeDePontos> | 14 | +<iniciaDadosGrafico> |
17 | */ | 15 | */ |
18 | - case "GRADEDEPONTOS": | ||
19 | - include_once(__DIR__."/../../classesphp/classe_analise.php"); | ||
20 | - copiaSeguranca($map_file); | ||
21 | - if(!isset($tema)){$tema = "";} | ||
22 | - $m = new Analise($map_file,$tema); | ||
23 | - $retorno = $m->gradeDePontos($xdd,$ydd,$px,$py,$locaplic,$nptx,$npty); | ||
24 | - $m->salva(); | ||
25 | - $_SESSION["contadorsalva"]++; | 16 | + case "GRAFICOSELECAO": |
17 | + include(__DIR__."/../../classesphp/graficos.php"); | ||
18 | + if(!isset($exclui)) | ||
19 | + {$exclui = "";} | ||
20 | + if(!isset($tipo)) | ||
21 | + {$tipo = "nenhum";} | ||
22 | + if(!isset($ordenax)) | ||
23 | + {$ordenax = "nao";} | ||
24 | + $retorno = iniciaDadosGrafico($map_file,$tema,$exclui,$itemclasses,$itemvalores,$tipo,false,$ext,true,$ordenax); | ||
26 | break; | 25 | break; |
27 | } | 26 | } |
28 | if (!connection_aborted()){ | 27 | if (!connection_aborted()){ |