Ticket #3616 (closed bug: fixed)

Opened 4 months ago

Last modified 4 months ago

setting wrapDateLine changes DisplayOutsideMaxExtent unnecessarily.

Reported by: scaddenp Owned by:
Priority: minor Milestone: 2.12 Release
Component: Layer Version: 2.11
Keywords: Cc:
State: Complete

Description

If a maxExtent crosses dateline, then this prevents using maxExtent to restrict which tiles are pulled.

The code for this.bounds.intersectsBounds(maxExtent, {inclusive: false, worldBounds: worldBounds})) seems to deal with the wrapDateLine issue adequately.

Attachments

displayOutsideMaxExtent.patch Download (299 bytes) - added by scaddenp 4 months ago.
Patch to remove this issue

Change History

Changed 4 months ago by scaddenp

Patch to remove this issue

Changed 4 months ago by ahocevar

  • status changed from new to closed
  • resolution set to fixed
  • state set to Complete
  • component changed from general to Layer

Good catch @scaddenp. Thanks for catching and fixing this. In with  https://github.com/openlayers/openlayers/commit/cebc7e60de1a13cde910c7648d707c926c38d6fe

Note: See TracTickets for help on using tickets.