Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have tiles that are not available for the whole map. How can I stop Leaflet.js/Mapbox.js from making requests to these tiles? There are dozens of HTTP 404's that I'd really like to get rid of.
Try researching that link.
Also: Tile Layer Bounding Box Example
Or modify errorTileUrl to help your cause. Perhaps try errorTileUrl: ""
Required, but never shown