[OpenLayers-Trac] Re: [OpenLayers] #2964: Error in Layer.Zoomify
when width or height is evenly divisible by 256
OpenLayers
trac-20090302 at openlayers.org
Fri Apr 29 09:32:37 EDT 2011
#2964: Error in Layer.Zoomify when width or height is evenly divisible by 256
---------------------+------------------------------------------------------
Reporter: alpage | Owner: euzuro
Type: bug | Status: new
Priority: major | Milestone: 2.11 Release
Component: Layer | Version: 2.10
Keywords: zoomify | State:
---------------------+------------------------------------------------------
Changes (by rboulton):
* cc: rboulton (added)
Comment:
I've just come across this bug myself, too. Attached is a patch I came up
with (before seeing this ticket) to fix it. It takes a slightly different
approach to the above - rather than checking for a zero value, it
subtracts 1 before the % operation, then adds it again; this is almost
equivalent, but if the actual tierImageSize value was 0 it would leave it
at zero.
--
Ticket URL: <http://trac.openlayers.org/ticket/2964#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list