[OpenLayers-Users] Drawing a polygon?
newbie
shai_mus at hotmail.com
Sun Jan 25 22:48:43 EST 2009
Dear Arnd,
Thank you for your help. I am actually new to openlayer. The
reason I am learning how to draw is to be able to build geofencing. Do you
think I am on the right track? After drawing I want to be able to send the
coordinate to database via javascript is this possible? Thanks.
Arnd Wippermann wrote:
>
> 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
>
> _______________________________________________
> 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--tp2208162p2216110.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list