[OpenLayers-Users] Handler.RegularPolygon

Christopher Schmidt crschmidt at metacarta.com
Wed May 23 13:42:32 EDT 2007


On Wed, May 23, 2007 at 11:23:13AM -0500, Tim Langlois wrote:
> Looks like security restrictions where preventing the old URL from
> working, so I thought I would resend this.
> 
> I wrote a custom handler to draw an N-sided regular polygon by clicking
> and dragging a line to specify the radius.  The polygon is drawn on
> mouse up.  The number of sides is specified by the "sides" attribute.
> 
> Here's an example.  Click the polygon button in the toolbar in the upper
> right corner and click and drag to create the polygon.  To change the
> sides, enter the number of sides you want and click submit.
> 
> http://maps.terratrace.net/vmaptest.html

That's cool. Do you want to see this go into the main distribution? I'd
like to see it added to a ticket, if you're willing to do that, since I
think several groups of people have requested something similar.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list