On Thu, Apr 03, 2008 at 09:39:23AM -0600, Linda Rawson wrote: > I found the problem. Somebody changed this line in PanZoomBar.js > > FROM: > > var levels = Math.floor((y - top)/this.zoomStopHeight); > > TO: > > var levels = (y - top)/this.zoomStopHeight; > > This is causing the problem.
Math.floor is called (if your map doesn't have fractionalZoom) two lines later, on the zoom. Can you explain why this is a problem in your setup? A more complete HTML example with the behavior you expect and the behavior you're getting would be helpful. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
