Commit bd90d624fd4af426ec18fdb85702b9a49770d833
1 parent
9680a0fe
Exists in
master
and in
7 other branches
--no commit message
Showing
4 changed files
with
14 additions
and
7 deletions
Show diff stats
admin/js/core.js
... | ... | @@ -1026,7 +1026,7 @@ function core_menuCheckBox(valores,textos,selecionados,target,record,key,unico,f |
1026 | 1026 | { label: "Fecha", value: "CANCEL", checked: false } |
1027 | 1027 | ]); |
1028 | 1028 | og_core.on("checkedButtonChange", on_menuCheckBoxChange); |
1029 | - YAHOO.admin.container.panelCK = new YAHOO.widget.Panel("core_menuCK", { draggable:false,modal:true,zindex:"100",close:false,underlay:false,width:"200px", height:"158px",overflow:"auto", visible:false,constraintoviewport:false } ); | |
1029 | + YAHOO.admin.container.panelCK = new YAHOO.widget.Panel("core_menuCK", { draggable:false,modal:false,zindex:"100",close:false,underlay:false,width:"200px", height:"158px",overflow:"auto", visible:false,constraintoviewport:false } ); | |
1030 | 1030 | YAHOO.admin.container.panelCK.render(); |
1031 | 1031 | } |
1032 | 1032 | onde = $i("core_menuCK_bd"); | ... | ... |
admin/js/editormapfile_editavel.js
... | ... | @@ -15,7 +15,7 @@ function montaEditorEditavel(dados) |
15 | 15 | var temp = function(){ |
16 | 16 | salvarDadosEditor('editavel',dados.codigoMap,dados.codigoLayer,false); |
17 | 17 | }; |
18 | - core_montaEditor(temp,"450px","450px","","Edição",true,true,false); | |
18 | + core_montaEditor(temp,"450px","450px","","Edição",false,true,false); | |
19 | 19 | |
20 | 20 | var limg = i3GEO.configura.locaplic+"/imagens/ic_zoom.png", |
21 | 21 | param = { | ... | ... |
ferramentas/navegapostgis/index.js
... | ... | @@ -392,9 +392,11 @@ i3GEOF.navegapostgis = { |
392 | 392 | } |
393 | 393 | sql = the_geom+" from (\n\n select "+i+" from "+i3GEOF.navegapostgis.esquema+"."+i3GEOF.navegapostgis.tabela+"\n\n) as foo using unique "+gid+" using srid=4326"; |
394 | 394 | sql = sql.replace(",,",","); |
395 | - if(gid === ""){ | |
395 | + if(gid === "" && i3GEOF.navegapostgis.tipo === "sql"){ | |
396 | 396 | alert("Coluna com ID unico nao foi escolhida!"); |
397 | 397 | } |
398 | - $i("i3GEOFnavegapostgisSql").value = sql; | |
398 | + if(gi3GEOF.navegapostgis.tipo === "sql"){ | |
399 | + $i("i3GEOFnavegapostgisSql").value = sql; | |
400 | + } | |
399 | 401 | } |
400 | 402 | }; | ... | ... |
temas/_lbairros.map
1 | 1 | MAP |
2 | 2 | FONTSET "/var/www/i3geo/symbols/fontes.txt" |
3 | 3 | SYMBOLSET "/var/www/i3geo/symbols/simbolosv6.sym" |
4 | -LAYER | |
4 | + LAYER | |
5 | 5 | CONNECTION "user=postgres password=postgres dbname=i3geosaude host=localhost port=5432 options='-c client_encoding=LATIN1'" |
6 | 6 | CONNECTIONTYPE POSTGIS |
7 | 7 | DATA "the_geom from (select st_setsrid(the_geom,4326) as the_geom,co_bairro,no_bairro,no_distr,no_municip from i3geo_metaestat.bairros /*FW*//*FW*/) as foo using unique co_bairro using srid=4326" |
8 | 8 | METADATA |
9 | 9 | "TIP" "no_bairro" |
10 | + "cache" "" | |
10 | 11 | "CLASSE" "SIM" |
11 | 12 | "ITENSDESC" "Código bairro,Nome,Distrito,Município" |
13 | + "EDITAVEL" "SIM" | |
12 | 14 | "METAESTAT_CODIGO_TIPO_REGIAO" "1" |
13 | - "METAESTAT" "SIM" | |
15 | + "ESQUEMATABELAEDITAVEL" "i3geo_metaestat" | |
14 | 16 | "ITENS" "co_bairro,no_bairro,no_distr,no_municip" |
15 | 17 | "TEMA" "Bairro (IBGE)" |
18 | + "COLUNAIDUNICO" "gid" | |
19 | + "COLUNAGEOMETRIA" "the_geom" | |
20 | + "TABELAEDITAVEL" "bairros" | |
16 | 21 | END # METADATA |
17 | 22 | NAME "_lbairros" |
18 | 23 | STATUS DEFAULT |
... | ... | @@ -27,6 +32,6 @@ LAYER |
27 | 32 | END # STYLE |
28 | 33 | END # CLASS |
29 | 34 | END # LAYER |
30 | - | |
35 | + | |
31 | 36 | END # MAP |
32 | 37 | ... | ... |