--- 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.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2pzbmg0Nmk5MGF5NzQzbzRnbDNoeHJrbiJ9.7_-_gL8ur7ZtEiNwRfCy7Q value: Your Mapbox access token from https://mapbox.com/ here ---