Ticket #3002 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

support tile extent for grid layers

Reported by: tschaub Owned by: elemoine
Priority: minor Milestone: 2.11 Release
Component: Layer.Grid Version: 2.10
Keywords: Cc:
State:

Description

Layers that extend Grid base their tile lattice on the layer's maxExtent property. In practice, the maxExtent of a layer corresponds to the data bounds or the map bounds imposed by the user. Neither of these is necessarily coupled to the tile extent of a tile caching service.

The  WMS-C recommendation and other standards have the server advertise a tile extent. It makes sense for OpenLayers to support a tileExtent property for gridded layers.

Attachments

3002.patch Download (4.8 KB) - added by tschaub 2 years ago.
support tileExtent

Change History

Changed 2 years ago by tschaub

Tests and example to follow.

Changed 2 years ago by tschaub

  • state set to Review

Now with example and tests.

Changed 2 years ago by tschaub

support tileExtent

Changed 2 years ago by ahocevar

  • state changed from Review to Commit

A clean solution with very few lines of code, saving users a lot of application specific code. Great work. Assuming that tests pass, please commit.

Changed 2 years ago by tschaub

  • status changed from new to closed
  • state Commit deleted
  • resolution set to fixed

In w/ r11002

Note: See TracTickets for help on using tickets.