Hi!
I want to show a GML polygon that I get from a web service on the map. All
the examples of showing GML makes me load an XML file as in the
gml-layer.html example:
map.addLayer(new OpenLayers.Layer.GML(GML, gml/polygon.xml));
I don't know how to load GML on the fly without a prepared file.
Check out the vector-formats.html example.
Best regards,
Bart
Hi!
I want to show a GML polygon that I get from a web service on the map. All
the examples of showing GML makes me load an XML file as in the
gml-layer.html example:
map.addLayer(new OpenLayers.Layer.GML(GML,