<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><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">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>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 class="Wj3C7c">
<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