[OpenLayers-Users] document.createElementNS on IE
jdege at korterra.com
Tue Aug 14 12:30:31 EDT 2007
I'm trying to convert a newly-inserted Vector feature into a GML string.
What I'm trying so far:
var g = new OpenLayers.Format.GML();
var x = g.createFeatureXML(feature);
var s = g.read([x]);
I'm not entirely sure this is the right way to go about it, it looks
like it should work. But it fails, of course, because
Format.GML.createFeatureGML() contains multiple calls to
document.createElementNS(), and that function is unsupported by Internet
Was this intended to work in IE?
Is there a way of converting a Vector.Feature to a GML string that will
work in both Firefox and IE?
More information about the Users