Commit 38f9e144b30cb72d927dd402595944b8971508f5
1 parent
b5fe0453
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
admin/admin.db
No preview for this file type
ferramentas/editorol/editorol.js
@@ -1512,11 +1512,13 @@ i3GEO.editorOL = | @@ -1512,11 +1512,13 @@ i3GEO.editorOL = | ||
1512 | if(tema){ | 1512 | if(tema){ |
1513 | layer = i3geoOL.getLayersByName(tema.value)[0]; | 1513 | layer = i3geoOL.getLayersByName(tema.value)[0]; |
1514 | url = layer.getSource().getUrls()[0]; | 1514 | url = layer.getSource().getUrls()[0]; |
1515 | + xy = evt.target.downPx_; | ||
1515 | retorno = function(r){ | 1516 | retorno = function(r){ |
1516 | - console.info(r); | 1517 | + var xy = evt.feature.getGeometry().getFirstCoordinate(); |
1518 | + i3GEO.eventos.cliquePerm.ativo = true; | ||
1519 | + i3GEO.Interface.openlayers.balao(r,"", xy[0], xy[1]); | ||
1520 | + i3GEO.eventos.cliquePerm.ativo = false; | ||
1517 | }; | 1521 | }; |
1518 | - //xy = evt.feature.getGeometry().getFirstCoordinate(); | ||
1519 | - xy = evt.target.downPx_; | ||
1520 | p = i3GEO.configura.locaplic + "/classesphp/proxy.php?" | 1522 | p = i3GEO.configura.locaplic + "/classesphp/proxy.php?" |
1521 | + url | 1523 | + url |
1522 | + "&tipoRetornoProxy=string&REQUEST=GetFeatureInfo&TIPOIMAGEM=nenhum&DESLIGACACHE=sim&STYLES=&SERVICE=WMS&VERSION=1.1.1&FEATURE_COUNT=1" | 1524 | + "&tipoRetornoProxy=string&REQUEST=GetFeatureInfo&TIPOIMAGEM=nenhum&DESLIGACACHE=sim&STYLES=&SERVICE=WMS&VERSION=1.1.1&FEATURE_COUNT=1" |