Hi Darko,<br><br>Yes, it is possible. Take a look on this:<br><br><a href="http://openlayers.org/dev/examples/setextent.html">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">radiceski@gmail.com</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@openlayers.org">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>