[OpenLayers-Users] RegularPolygon and snapAngle

Davide Morellato davide.morellato at gmail.com
Wed May 25 10:57:07 EDT 2011


Hi everybody.
I'd like to give my website's users the ability of draw a rectangle. This
should have a tilt angle of 0°, but setting snapAngle=90, it ever has a tilt
angle of 45°. Inserting snapAngle=45° partially solves the problem, but I
don't want let users insert rhombs. How should I do? Is there a
configuration parameter that sets the initial angle?

Regards,
 Davide Morellato

-- 
www.davidemorellato.it

Per favore non mandatemi allegati in Word o PowerPoint.
Si veda http://www.gnu.org/philosophy/no-word-attachments.it.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110525/f1fe9cbd/attachment.html


More information about the Users mailing list