Ticket #2558 (closed feature: fixed)
Superfluous "limit" in Layer.XYZ
| Reported by: | Joto | Owned by: | euzuro |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | Layer | Version: | 2.9 RC1 |
| Keywords: | pullup | Cc: | |
| State: | Pullup |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

