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", "gml/polygon.xml")); > > I don't know how to load GML on the fly without a prepared file. Is it > possible to draw a GML string I put in a hidden text field or a hidden div > on the page instead? > > Thanks! > /Matti > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/Load-GML-layer-from-text-field-tp5260132p5260132.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users