Closed bdon closed 2 years ago
Brain dump about branch tile-smushing
Overall approach:
dataSource
has empty string as name, to avoid having to explicitly name It in every Rule in the general caseProgress:
Challenges:
current spike hits major layout/paint jankiness around zoom 10
layout at massive overzooms for data tiles is taking 60ms+
http://localhost:8000/examples/leaflet.html#16/41.1594/-120.7284 kills the browser, probably due to layout above^
layer-level options that need to be moved to source-level: levelDiff
, maxDataZoom
{
"":{source:"https://example.com/{z}/{x}/{y}.pbf",levelDiff:2,maxDataZoom:14}
"other":{source:"https://example.com/foo.pmtiles",levelDiff:2,maxDataZoom:8}
}
Possible bug related to labels across tile edges: but not easy to reproduce; still investigating
Implemented in 1.19