Hi,

In this example drawing is by default in freehand mode. That means, you have
to draw with mouse down or you use the shift key while drawing to change the
mode.

Arnd Wippermann


-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von newbie
Gesendet: Sonntag, 25. Januar 2009 19:35
An: [email protected]
Betreff: Re: [OpenLayers-Users] Drawing a polygon?


Dear Arnd,
              I have managed to assimilate the code into my map application.
The draw points works perfectly fine. But both draw line and polygon is not
working. When I am using either one and try to click the points appear and
gone it doesnt stick to that location? Why this happends ya ?

Arnd Wippermann wrote:
> 
> Hi,
> 
> This is a good source:
> http://openlayers.org/dev/examples/
> 
> Look for draw, then you will find "OpenLayers Draw Feature Example".
> 
> Arnd Wippermann
>  
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected] 
> [mailto:[email protected]] Im Auftrag von newbie
> Gesendet: Samstag, 24. Januar 2009 10:34
> An: [email protected]
> Betreff: [OpenLayers-Users] Drawing a polygon?
> 
> 
> Dear All,
>            I have map now. So I want a tool to draw polygon on top of it?
> How can I do it? Any samples please? 
> --
> View this message in context:
> http://n2.nabble.com/Drawing-a-polygon--tp2208162p2208162.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
> 
> 

--
View this message in context:
http://n2.nabble.com/Drawing-a-polygon--tp2208162p2214121.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to