[OpenLayers-Users] Drawing a polygon?

Arnd Wippermann arnd.wippermann at web.de
Sun Jan 25 15:02:10 EST 2009


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: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von newbie
Gesendet: Sonntag, 25. Januar 2009 19:35
An: users at openlayers.org
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: users-bounces at openlayers.org 
> [mailto:users-bounces at openlayers.org] Im Auftrag von newbie
> Gesendet: Samstag, 24. Januar 2009 10:34
> An: users at openlayers.org
> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> 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
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list