Hi Sarel,

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.


Regards, Frank.


From: [email protected]
Sent:2011-11-07 22:13:11
To: [email protected]
Cc: 
Subject: [OpenLayers-Users] Zoom-in
Good day

I ran into some trouble with zoom-in or extents using EPSG:4326
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.

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. 

I am using mapserver to pushout WMS into openlayers.

Here is an example of an extent of a building:
39.188112, -6.165252, 39.188305, -6.165057

Your help will be great.




Sarel Coetzer
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to