Hi List,

We're using the GetFeatureInfo widget, and it works fine.. until the response must be prosessed:
we then get the following two errors (firebugoutput below or attached)

in MapPaneOL.js

293 MapPaneOL.prototype.updateMouse = function(e) {
294 // get objRef from the event originator object (e.object),
295 // where it was stored as mbPane property by paint().
296 var objRef = e.object.mbMapPane;
298 // update map pane cursor
299 if (objRef.model.map.mbCursor) { //HF .map. == null //
300 objRef.model.map.div.style.cursor = objRef.model.map.mbCursor;
301 }

Is it a bug, or a configuration change. I had the impression that we need a new map object now in mainMap. But maybe i'm wrong

    <GetFeatureInfo id="breinaald">
      <!--scriptFile>scripts/GetFeatureInfo.js</scriptFile-->
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>Button</class>
      <enabledSrc>/images/BreinaaldEnable.png</enabledSrc>
      <disabledSrc>/images/BreinaaldEnable.png</disabledSrc>
      <infoFormat>text/plain</infoFormat>
      <featureCount>1</featureCount>
    </GetFeatureInfo>



and then later in Context.js, propably  caused by previous error

/**
130 * Get the Spatial Reference System from the context document.
131 * @return srs The Spatial Reference System.
132 */
133 this.getSRS=function() {
134 var bbox=this.doc.selectSingleNode("/wmc:ViewContext/wmc:General/wmc:BoundingBox");
135 srs=bbox.getAttribute("SRS");
136 srs = srs ? srs : 'EPSG:4326';
137 return srs;
138 }


Regards, Huub

-- 
=====================================
Geodan IT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
-------------------------------------
Tel: +31 (0)73 - 692 5151
Fax:  +31 (0)73 - 692 5150
Mobiel:
-------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
E-mail: [EMAIL PROTECTED]
Website: www.geodan.nl
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to