From: Ignacio T. <ign...@gm...> - 2008-03-27 18:37:39
|
Hi, I was trying to include this tool. I started from the OWSExplorer sample in the page. <WebServiceRequest id="wmsController"> GetFeatureInfoWSR.js var hidden = objRef.targetModel.getHidden(layerName); if (hidden == 0) { //query only visible layers controller.requestStylesheet.setParameter("bBoxMinX", ll.lon); When I select this tools and click in the map. I get this error . *Error: controller has no properties Source File: http://localhost:11080/mapbuilder/lib/widget/GetFeatureInfoWSR.js Line: 99* GetFeatureInfoWSR.js var hidden = objRef.targetModel.getHidden(layerName); if (hidden == 0) { //query only visible layers line 99 controller.requestStylesheet.setParameter("bBoxMinX", ll.lon ); any idea?. thanks |