Skip to content

No default theme for leafletLayer #153

@wginsberg

Description

@wginsberg

The theme option for the leafletLayer function is marked as optional, however when I omit nothing gets shown on the map.

I.e.

// This works
protomapsL.leafletLayer({url:'FILE.pmtiles OR ENDPOINT/{z}/{x}/{y}.mvt',theme:"light"})

// This doesn't work
protomapsL.leafletLayer({url:'FILE.pmtiles OR ENDPOINT/{z}/{x}/{y}.mvt'})

I am keen to try to submit a PR to fix this one.

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