[OpenLayers-Dev] Polygon overlay

Dom Lehr dominic.lehr at googlemail.com
Fri Jun 4 17:33:18 EDT 2010


Hey guys,

I got a question concering a polygon overlay. I've seen the examples on
openlayers.org, e.g http://openlayers.org/dev/examples/regular-polygons.html,
however I would like to know if there is a way to draw such a polygon in
JavaScript. For example, this script would provide a list of points which
than would be passed to Openlayers somehow. Using these points, a polygon
should be drawn as a layer on top of the map. Pretty much like the example
shows it, expect that the painting of the polygon would be perfomred
automatically instead of interacting with the user.

Your help is very appreciated!

Regards,

Dom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100604/eb275f3d/attachment.html


More information about the Dev mailing list