Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern set in mapbox style.json not displayed #713

Open
utagawal opened this issue Nov 6, 2022 · 1 comment
Open

Pattern set in mapbox style.json not displayed #713

utagawal opened this issue Nov 6, 2022 · 1 comment

Comments

@utagawal
Copy link
Contributor

utagawal commented Nov 6, 2022

Some items present in the style.json are not rendered

Capture d’écran 2022-11-06 171524

Capture d’écran 2022-11-06 171542

Description in style.json file :

{
  "id": "Contours-falaise",
  "type": "line",
  "metadata": {"IHM:overlay": false},
  "source": "openmaptiles",
  "source-layer": "mountain_peak",
  "minzoom": 14,
  "filter": [
    "all",
    [
      "in",
      "class",
      "cliff",
      "earth_bank",
      "hedge",
      "fence",
      "wall"
    ]
  ],
  "layout": {
    "line-cap": "butt",
    "line-join": "bevel",
    "visibility": "visible"
  },
  "paint": {
    "line-color": "#977C73",
    "line-opacity": 0.3,
    "line-pattern": "cliff3",
    "line-translate-anchor": "map",
    "line-width": {
      "stops": [[6, 6], [20, 12]]
    }
  }
}
@ahocevar
Copy link
Member

ahocevar commented Nov 6, 2022

The line-pattern property is not (yet) supported. Items with that paint property are currently not rendered at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants