---
template: "example.html"
title: "Limited Layer Extent"
shortdesc: "Restricting layer rendering to a limited extent."
docs: >
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.
tags: "extent, tilejson"
---