--- layout: 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 above to limit rendering based on an extent (approximate country bounds). tags: "extent, tilejson" cloak: - key: pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2t0cGdwMHVnMGdlbzMxbDhwazBic2xrNSJ9.WbcTL9uj8JPAsnT9mgb7oQ value: Your Mapbox access token from https://mapbox.com/ here ---