PMTiles
PMTiles copied to clipboard
Web clients should infer `maxzoom` from metadata
This is a gotcha when working with overzooming
see https://maplibre.org/maplibre-gl-js-docs/style-spec/sources/#vector-maxzoom
Leaflet GridLayer creation is synchronous; maxNativeZoom, minNativeZoom and bounds can only be specified at layer creation time. So to do this correctly using existing Leaflet APIs needs to be done by the user, or we need to change the layer creation API to be asynchronous.
Going to call this closed because it works for MapLibre. Leaflet is a pass since layer creation is synchronous.