From 7a4d2965357c86ff78652eda953f9a3eaa12ce89 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Fri, 30 Mar 2012 01:05:16 +0000 Subject: [PATCH] --- mashups/openlayers.js.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mashups/openlayers.js.php b/mashups/openlayers.js.php index c311b4a..6fefb36 100644 --- a/mashups/openlayers.js.php +++ b/mashups/openlayers.js.php @@ -517,18 +517,18 @@ i3GEO.editorOL = { } }, captura: function(lonlat){ - if(i3GEO.editorOL.layergrafico !== ""){return;} + //if(i3GEO.editorOL.layergrafico !== ""){return;} var layers = [i3GEO.editorOL.layerAtivo()], xy = lonlat.split(","), u = layers[0].url+"&request=getfeature&service=wfs&version=1.0.0"; u += "&OUTPUTFORMAT=gml2&typename="+layers[0].params.LAYERS; - //u += "&filter=Geometry"+lonlat+""; + //u += "&filter=Geometry"+lonlat+""; xy[0] = xy[0] * 1; xy[1] = xy[1] * 1; var poligono = (xy[0]-0.1)+","+(xy[1]+0.1) + " "+(xy[0]+0.1)+","+(xy[1]+0.1)+" " + (xy[0]+0.1)+","+(xy[1]-0.1)+" " + (xy[0]-0.1)+","+(xy[1]-0.1)+" "+(xy[0]-0.1)+","+(xy[1]+0.1); - u += "&filter=Geometry"+poligono+""; + u += "&filter=Geometry"+poligono+""; document.body.style.cursor="wait"; if(document.getElementById("i3geoMapa")) -- libgit2 0.21.2