See: http://dev.openlayers.org/releases/OpenLayers-2.8/examples/vector-formats.html
Best regards, Bart On Feb 1, 2010, at 4:10 PM, Alex G. wrote: > Hello, > > I am using the drawing example > (http://openlayers.org/dev/examples/editingtoolbar.html) on OpenLayers to > allow users to draw lines and polygons on my map. > > I was wondering how may I "save" the polygons that they have drawn. Is there > some way to get the coordinates they have clicked and then save them to some > database or external file? Is there some built-in function to return the > coordinates clicked or something similar? > > Do I have to "record" the clicks that the user makes and save them? If yes, > how could I go about doing that? > > Thanks in advance, > > Alex > _______________________________________________ > Dev mailing list > Dev@openlayers.org > http://openlayers.org/mailman/listinfo/dev
_______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev