Files
openlayers/lib/OpenLayers/Control/ZoomBox.js
ahocevar 8cccbfb189 Protect ZoomBox from division by zero
When the map is at the highest zoom level, the old and the current
resolution will be the same. This would cause a division by zero, which
the JavaScript engine does not recognize as such. So we have to protect
zoomOriginPx from becoming {x: Infinity, y: Infinity}.
2013-06-06 09:18:35 +02:00

4.6 KiB