Tile Origin

grid, tileOrigin, light

Demonstrates the use of the tileExtent property to differentiate between the maximum extent and the tile extent for a layer.

This example uses a layer that requests map tiles from a WMS that only generates image responses for requests that align with a particular tile lattice. In this case, the layer's maxExtent does not align with that tile lattice. To configure the layer with a tile extent that conforms to the tile origin configured on the server, use the layer's tileOrigin property.

View the tile-origin.js source to see how this is done