Ticket #910 (closed task: fixed)
Extraneous moveTo() Overridden in Image Tile
| Reported by: | euzuro | Owned by: | euzuro |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5 Release |
| Component: | Tile.Image | Version: | 2.4 |
| Keywords: | Cc: | ||
| State: |
Description
The moveTo() function is overridden in Tile/Image.js, but on close inspection, this is not necessary.
Why is it overridden? so that it can reproject the bounds of the tile and recalculate the tile's 'url' property.
Which makes sense (as the tile has moved, has new bounds, and will need to load from a new URL)... but on closer inspection, the draw() function on the image tile *always* does the reprojection and the recalculation of the URL before actually requesting the image.
No need to do it twice!
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

