Sometimes you cannot zoom in on a map until you zoom out first.

Comments

phayes’s picture

In situations where this bug exists, using the wheel mouse to zoom also does not work.

phayes’s picture

This bug occurs when the default base layer is at the top of the layer list (also where there is only one baselayer)

phayes’s picture

Line 131, opelayers.js - if we removed reference to the zoom level, this bug does not occur. So somehow by setting the zoom level programatically, we are creating this bug.

phayes’s picture

Status: Active » Fixed

This is a bug in openlayers. I opened a ticket at: http://trac.openlayers.org/ticket/2180

We can get around it by converting to integer before invoking setCenter.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.