Ticket #138 (closed bug: fixed)
WFS layers do not work in IE
| Reported by: | erik.konijnenburg@… | Owned by: | euzuro |
|---|---|---|---|
| Priority: | major | Milestone: | 2.2 Release |
| Component: | general | Version: | |
| Keywords: | WFS IE XML | Cc: | |
| State: |
Description
in Tile/WFS.js you find
var resultFeatures = doc.getElementsByTagName("featureMember");
the actual tag should be "gml:featureMember" in IE
in Feature/WFS.js you find in processXMLNode
var point = xmlNode.getElementsByTagName("Point")
the actual tag should be "gml:Point" in IE
The next line reads
var text = point[0].textContent
this should be
var text = point[0].text
in IE
use something like <script> function getXmlNodeValue(xmlNode){
return Try.these(
function() {return xmlNode.text;}, function() {return xmlNode.textContent;) );
} </script>
Change History
Note: See
TracTickets for help on using
tickets.
