<div>Refer to </div>
<div><a href="http://n2.nabble.com/How-to-add-a-an-overlay-on-top-of-a-map--td2196295.html">http://n2.nabble.com/How-to-add-a-an-overlay-on-top-of-a-map--td2196295.html</a></div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Mon, Jan 26, 2009 at 9:18 AM, newbie <span dir="ltr">&lt;<a href="mailto:shai_mus@hotmail.com">shai_mus@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>Dear Arnd,<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thank you for your help. I am actually new to openlayer. The<br>reason I am learning how to draw is to be able to build geofencing. Do you<br>
think I am on the right track? After drawing I want to be able to send the<br>coordinate to database via javascript is this possible? Thanks.<br>
<div>
<div></div>
<div class="Wj3C7c"><br>Arnd Wippermann wrote:<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; In this example drawing is by default in freehand mode. That means, you<br>&gt; have<br>&gt; to draw with mouse down or you use the shift key while drawing to change<br>
&gt; the<br>&gt; mode.<br>&gt;<br>&gt; Arnd Wippermann<br>&gt;<br>&gt;<br>&gt; -----Ursprüngliche Nachricht-----<br>&gt; Von: <a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a> [mailto:<a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a>] Im<br>
&gt; Auftrag von newbie<br>&gt; Gesendet: Sonntag, 25. Januar 2009 19:35<br>&gt; An: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>&gt; Betreff: Re: [OpenLayers-Users] Drawing a polygon?<br>&gt;<br>&gt;<br>
&gt; Dear Arnd,<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I have managed to assimilate the code into my map<br>&gt; application.<br>&gt; The draw points works perfectly fine. But both draw line and polygon is<br>&gt; not<br>&gt; working. When I am using either one and try to click the points appear and<br>
&gt; gone it doesnt stick to that location? Why this happends ya ?<br>&gt;<br>&gt; Arnd Wippermann wrote:<br>&gt;&gt;<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt; This is a good source:<br>&gt;&gt; <a href="http://openlayers.org/dev/examples/" target="_blank">http://openlayers.org/dev/examples/</a><br>
&gt;&gt;<br>&gt;&gt; Look for draw, then you will find &quot;OpenLayers Draw Feature Example&quot;.<br>&gt;&gt;<br>&gt;&gt; Arnd Wippermann<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; -----Ursprüngliche Nachricht-----<br>&gt;&gt; Von: <a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a><br>
&gt;&gt; [mailto:<a href="mailto:users-bounces@openlayers.org">users-bounces@openlayers.org</a>] Im Auftrag von newbie<br>&gt;&gt; Gesendet: Samstag, 24. Januar 2009 10:34<br>&gt;&gt; An: <a href="mailto:users@openlayers.org">users@openlayers.org</a><br>
&gt;&gt; Betreff: [OpenLayers-Users] Drawing a polygon?<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Dear All,<br>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I have map now. So I want a tool to draw polygon on top of it?<br>&gt;&gt; How can I do it? Any samples please?<br>
&gt;&gt; --<br>&gt;&gt; View this message in context:<br>&gt;&gt; <a href="http://n2.nabble.com/Drawing-a-polygon--tp2208162p2208162.html" target="_blank">http://n2.nabble.com/Drawing-a-polygon--tp2208162p2208162.html</a><br>
&gt;&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list<br>&gt;&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt;&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>&gt;&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>&gt;&gt;<br>&gt;&gt;<br>
&gt;<br>&gt; --<br>&gt; View this message in context:<br>&gt; <a href="http://n2.nabble.com/Drawing-a-polygon--tp2208162p2214121.html" target="_blank">http://n2.nabble.com/Drawing-a-polygon--tp2208162p2214121.html</a><br>
&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
&gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>&gt;<br>&gt;<br><br></div></div><font color="#888888">--<br>View this message in context: <a href="http://n2.nabble.com/Drawing-a-polygon--tp2208162p2216110.html" target="_blank">http://n2.nabble.com/Drawing-a-polygon--tp2208162p2216110.html</a><br>
</font>
<div>
<div></div>
<div class="Wj3C7c">Sent from the OpenLayers Users mailing list archive at Nabble.com.<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Jatin Ambasana<br>iWork Technologies Pvt. Ltd.<br>
Mobile:+91-9765394718<br>Mail: &nbsp;<a href="mailto:jatin.a@iworktech.com">jatin.a@iworktech.com</a><br>Visit us: <a href="http://www.iworktech.com">www.iworktech.com</a> <br>