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

Unable to remove style when JSON id differs from URL #114

Open
pnorman opened this issue Jan 15, 2021 · 0 comments
Open

Unable to remove style when JSON id differs from URL #114

pnorman opened this issue Jan 15, 2021 · 0 comments

Comments

@pnorman
Copy link

pnorman commented Jan 15, 2021

I have a style I want to remove. When I brows from the front page I land on https://fresco.gospatial.org/style/caf038b1-0323-4981-869c-10cec80101bc/settings/actions and press remove style. The style remains on the front page list.

Style:

{
  "name": "OpenStreetMap Cartographic",
  "id": "72328c7d-c3ec-45e5-aa71-114b3c400c81",
  "version": 8,
  "sources": {
    "vector": {
      "type": "vector",
      "url": "https://took.paulnorman.ca/dev.json"
    }
  },
  "glyphs": "https://fonts.openmaptiles.org/{fontstack}/{range}.pbf",
  "layers": [
    {
      "id": "land",
      "type": "background",
      "paint": {
        "background-color": "red"
      }
    }
  ]
}

When I changed the id in the json to caf038b1-0323-4981-869c-10cec80101bc I was then able to remove the style.

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

1 participant