Skip to content

iOS client ignores style.json encoding - only considers tile.json encoding #4341

Description

@michaelkirk

MapLibre iOS Version

6.26.0

iOS Version

26.5

Device

Simulator (though I assume all devices are affected)

What happened?

MTL tiles fail to render unless I have encoding: "mlt" in the tile.json - even if I have encoding: "mlt" in the style.json

The style spec implies that putting it in the style.json should be sufficient.

In fact, I wasn't expecting the declaration in the tile.json to have any effect (but it works for both js and native). Is that documented somewhere?

Steps to reproduce

I've set up a demo here: https://michaelkirk.github.io/mlt_style_demo/

In particular, see "Case #3: mlt_style_encoding · no_tile_encoding" in the demo
style.json: https://michaelkirk.github.io/mlt_style_demo/styles/mlt_style_encoding_no_tile_encoding.json
tile.json: https://michaelkirk.github.io/mlt_style_demo/sources/no_encoding.json

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions