<div>Hello all,</div>
<div>&nbsp;</div>
<div>Just a note back in regards to what i was trying to do.</div>
<div>&nbsp;</div>
<div>I managed to achieve the drawing of polygons and points using the WKT aproach.</div>
<div>&nbsp;</div>
<div>I know what feature i need to draw so i can create the WKT phrase, pass it to the parser and then draw that.</div>
<div>&nbsp;</div>
<div>Works like a charm:)</div>
<div>&nbsp;</div>
<div>If anyone needs any help on it or would like to see the code just email us.</div>
<div>&nbsp;</div>
<div>Sincerely</div>
<div>Darko</div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Mon, Apr 28, 2008 at 12:04 AM, Pedro Simonetti Garcia &lt;<a href="mailto:pedrosimonetti@gmail.com">pedrosimonetti@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Darko,<br><br>Sorry, whe you said &quot;bouds&quot; I thought that you was talking about a rectangle.<br>
<br>I don&#39;t know how to do it. I&#39;ve looked at the documentation, but I didn&#39;t find info on <br>that. But I suggest you take a look at the source code of the <br>OpenLayers.Control.DrawFeatute.<br><br>I hope this helps, 
<div>
<div></div>
<div class="Wj3C7c"><br><br>regards,<br><br>Pedro Simonetti.<br><br>
<div class="gmail_quote">2008/4/27 Darko Radiceski &lt;<a href="mailto:radiceski@gmail.com" target="_blank">radiceski@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hello all,</div>
<div>&nbsp;</div>
<div>I had a look at the example but that doesnt help,</div>
<div>&nbsp;</div>
<div>I have the 4 corners of the polygon. Its not a rectangle but irregular polygon.</div>
<div>&nbsp;</div>
<div>Any advice?</div>
<div>
<div></div>
<div>
<div><br><br>&nbsp;</div>
<div class="gmail_quote">On Sun, Apr 27, 2008 at 11:12 PM, Pedro Simonetti Garcia &lt;<a href="mailto:pedrosimonetti@gmail.com" target="_blank">pedrosimonetti@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi Darko,<br><br>Yes, it is possible. Take a look on this:<br><br><a href="http://openlayers.org/dev/examples/setextent.html" target="_blank">http://openlayers.org/dev/examples/setextent.html</a><br>
<br>You just need 2 pairs of lat/long, the (minx, miny) and (maxx, maxy).<br><br>regards,<br><br>Pedro Simonetti.<br><br>
<div class="gmail_quote">2008/4/27 Darko Radiceski &lt;<a href="mailto:radiceski@gmail.com" target="_blank">radiceski@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div></div>
<div>
<div>Dear all,</div>
<div>&nbsp;</div>
<div>I have been playing for the last few hours with no success to draw a polygon through code. </div>
<div>&nbsp;</div>
<div>What i would like to do is:</div>
<div>&nbsp;</div>
<div>I have a button that when i press it returns me the bouds of a particular aerial image. That is&nbsp;4 pairs of Lat,Lon for the image polygon.</div>
<div>&nbsp;</div>
<div>I would like to get those coordinates and from that generate a polygon that i can show on the map to represent the extent of that image.</div>
<div>&nbsp;</div>
<div>Is that possible?</div>
<div>&nbsp;</div>
<div>Any help for doing that please?</div>
<div>&nbsp;</div>
<div>I really apreciate your help.</div>
<div>&nbsp;</div>
<div>Cheers</div>
<div>Dan<br clear="all"><font color="#888888"><br>-- <br>Radiceski Darko<br>University of Wollongong<br>Australia<br>SIFE - UOW Chapter - Alumni<br>CASUAL ACADEMIC STAFF TEACHING - UOW SITACS<br>(School of Information Technology and Computer Science,University of Wollongong)<br>
Univeristy of Wollongong - Alumni </font></div><br></div></div>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org" target="_blank">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev" target="_blank">http://openlayers.org/mailman/listinfo/dev</a><br>
<br></blockquote></div><br></blockquote></div><br><br clear="all"><br>-- <br>Radiceski Darko<br>University of Wollongong<br>Australia<br>SIFE - UOW Chapter - Alumni<br>CASUAL ACADEMIC STAFF TEACHING - UOW SITACS<br>(School of Information Technology and Computer Science,University of Wollongong)<br>
Univeristy of Wollongong - Alumni </div></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><br>-- <br>Radiceski Darko<br>University of Wollongong<br>Australia<br>SIFE - UOW Chapter - Alumni<br>
CASUAL ACADEMIC STAFF TEACHING - UOW SITACS<br>(School of Information Technology and Computer Science,University of Wollongong)<br>Univeristy of Wollongong - Alumni