Skip to content

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

@pnorman

Description

@pnorman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions