Closed oO closed 9 years ago
Hi, not really sure to understand your question. The bounds are related to the map coordinate system, not the layer or the overlays. However, things have changed since the last months code addition, take a look at the bounds example:
Please reopen if I didn't understand your question.
I can't seem to add bounds to my TileLayer overlay, so I can prevent Leaflet from requesting tiles that don't exists. The examples show how to use bounds for image overlays but not for tile layers.
I've tried bounds using an object with southWest+northEast or with arrays, but I still get requests for invalid tiles. What am I doing wrong?
I'm adding a layers directive with the following data: