<p><span style="font-family: Verdana,Arial; font-size: 8pt;" mce_style="font-family:Verdana,Arial;font-size:8pt">Hi Sarel,</span></p><p><span style="font-family: Verdana,Arial; font-size: 8pt;" mce_style="font-family:Verdana,Arial;font-size:8pt">Have you defined a resolutions array for the map? If not, you might find that defining an array with resolutions corresponding to the zoom levels required to view your building extents will help.<br></span></p><p><span style="font-family:Verdana,Arial;font-size:8pt" mce_style="font-family:Verdana,Arial;font-size:8pt">Regards, Frank.<br><br><hr><br><b>From: </b>geotech.sarel@gmail.com<br><b>Sent:</b>2011-11-07 22:13:11<br><b>To: </b>openlayers-users@lists.osgeo.org<br><b>Cc: </b><br><b>Subject:</b> [OpenLayers-Users] Zoom-in<br></span>Good day<br><br>I ran into some trouble with zoom-in or extents using EPSG:4326<br>I'm using a building-layer in openlayers. I have extracted each building's EXTENT into a file which I then use to populate the boundbox in openlayer, I'm trying to display the a specific building in openlayers using the defined extents and I can't get the required depth of zoom.<br>
<br>I found that I could only zoom-in to a certain level, this is not the required level, I need to zoom-in more so the entire building centers on the page. <br><br>I am using mapserver to pushout WMS into openlayers.<br>
<br>Here is an example of an extent of a building:<br>39.188112, -6.165252, 39.188305, -6.165057<br><br>Your help will be great.<br><br><br><br><br clear="all">Sarel Coetzer <br></p>