[OpenLayers-Users] Preventing zoom out

Maria Panagou snowdrop at ath.forthnet.gr
Fri Jan 4 08:45:11 EST 2008


I finally figured it out. All I had to do was specify, MIN_ZOOM_LEVEL, in
google maps declaration which now look like:


var satellite = new OpenLayers.Layer.Google( "Google Satellite" , {type:
G_SATELLITE_MAP, MIN_ZOOM_LEVEL: 7, maxExtent:extent} );

-- 
View this message in context: http://www.nabble.com/Preventing-zoom-out-tp14608863p14616669.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list