Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Relative sprite specification fails with current versions #117

@guerda

Description

@guerda

I followed the guide in Example application of the Security & Privacy section and Protomaps gives me an error:

Error: Invalid sprite URL "sprites/v4/light", must be absolute. Modify style specification directly or use TransformStyleFunction to correct the issue dynamically

I'm using the example code written here:

https://github.com/protomaps/docs/blob/main/guide/security-privacy.md?plain=1#L113

and the following versions:

  • maplibre-gl 5.6.0
  • pmtiles 3.0.7
  • basemaps 5

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