-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't workingenablementallows us to something otherwise impossibleallows us to something otherwise impossible
Description
Describe the issue
We used a format expression for a set of styles recently that caused some odd rendering with Maplibre in Chartographer:
The expressions for these look like this:
...but with fields to pull from, so really more like:
[
"case",
["any",
["!", ["has", "name"]],
["==", ["get", "name"], ""]
],
["get", "name:en"],
["any",
["!", ["has", "name:en"]],
["==", ["get", "name:en"], ""]
],
["get", "name"],
[
"format",
["get", "name"],
"\n",
["get", "name:en"],
{
"font-scale": 0.8
},
],
],
It looks like Chartographer is converting these format expressions into step expressions for some reason. Not sure what's going on there.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenablementallows us to something otherwise impossibleallows us to something otherwise impossible