Limited layer extent

Restricting layer rendering to a limited extent.

This example uses the layer.setExtent() method to modify the extent of the overlay layer. Use the controls below to limit rendering based on an extent.

See the layer-extent.js source for details on how this is done.

extent, tilejson