Ticket #2558 (closed feature: fixed)
Superfluous "limit" in Layer.XYZ
|Reported by:||Joto||Owned by:||euzuro|
The getURL function in Layers.XYZ contains the line
var limit = Math.pow(2, z);
But this limit is never used. It is probably a left-over from a check that the x/y-coordinates are within the limits. (OpenLayers tends to generate tile requests for tiles numbered -1 etc.) This line should either be removed or the check should be added.