I´ve came up against a problem like that in the viewer we´ve made.<br><br>Finally I had to make some test to ensure that the maxExtent is ok with some min. resolution (in my case it was 1024*768, but the map div height and width was in percentage, not absolute values).<br>
<br>Perhaps it`s not the best solution for this, but it worked more less. Now it works with 1024*768 and higher resolutions...<br><br>I didn´t find any solution at 100%&nbsp; for this.<br><br><br><div class="gmail_quote">2008/6/23 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 am experiencing the following issue....</div>
<div>&nbsp;</div>
<div>I load a map from WMS. And then i call map.zoomToMaxExtent()</div>
<div>&nbsp;</div>
<div>That zooms out to full extent but what i have noticed it does not fill up to the most available space in the div tag. The div tag for the map is of absolute size.</div>
<div>&nbsp;</div>
<div>So for example if the div tag is 400 x 400 , when i zoom to maxExtent the WMS map i get is like 300 x 300 and is centered in the div. I would like the map to fill the full 400 x 400 with the 180 and -180 being right at the edge of the div.</div>


<div>&nbsp;</div>
<div>Is is possible to specify on initial load for the map to be zoomed to full extent but also fill up the most real eastate possible?</div>
<div>&nbsp;</div>
<div>Cheers</div>
<div>Dan<br clear="all"><font color="#888888"><br>-- <br>Radiceski Dan<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><br clear="all"><br>-- <br>Un saludo,<br><br>Juan Gonzalez del Pino<br>