These test cases isolate where encoding: mlt
needs to appear for MapLibre to correctly decode MLT tiles.
Per the MapLibre Style Spec,
it belongs in the style's source definition. TileJSON has no such field.
The four cases below test every combination of the field being present or absent
in each location. The iOS results suggest MapLibre Native is reading
encoding
from TileJSON rather than the style — the no tile encoding cases
produce tile errors on iOS regardless of whether the style carries the field.
The JS library seems to read it from either.
The iOS screenshots were taken from a simulator running MapLibre Native, pointed at the corresponding style URL for each case.