[OpenLayers-Dev] Save drawn polygon

Bart van den Eijnden bartvde at osgis.nl
Mon Feb 1 10:14:53 EST 2010



Best regards,

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 at openlayers.org
> http://openlayers.org/mailman/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100201/3ac0c154/attachment.html

More information about the Dev mailing list