[OpenLayers-Users] no predefined zoomlevels

Christopher Schmidt crschmidt at metacarta.com
Mon Feb 12 12:07:03 EST 2007


On Mon, Feb 12, 2007 at 05:21:39PM +0100, Bart van den Eijnden (OSGIS) wrote:
> Okay, that makes sense.
> 
> Would I still be able to use the PanZoomBar control and assign a set of
> scales to the PanZoomBar? So that it would represent street level,
> neighbourhood level etc.? Or does it always take the scales from the map?

You'd have to do something different. I think it only draws once, but
after that, it uses zoomTo() to go to a zoom level, which obviously
wouldn't work for you :) 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list