[OpenLayers-Users] Zoom to WMC extent

jvanulde jvanulde at NRCAN.GC.CA
Wed Aug 13 21:22:32 EDT 2008


I thought this would be simple and probably is, but the solution is evading
me.  I have loaded a WMC into a map but the image is centered in the map
window with lots of white space.  I would like the map to zoom to the
context extent.  Any ideas on how this can be done?  I have tried setting
the map option maxExtent to context.bounds but no dice.  

Cheers and thanks!
-- 
View this message in context: http://www.nabble.com/Zoom-to-WMC-extent-tp18974245p18974245.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list