Skip to content

mapbox token error message #4059

@nicolaskruchten

Description

@nicolaskruchten

(Pulling #4035 (comment) out into its own issue)

In the case when the layout.mapbox.style key is not set, and a mapbox token is not provided, I don't think the error message should say "you need a token". It should say "you need to provide a style". And then if the style is known to require a token, we can say "you need a token".

If a token is provided and no style is provided, then we should do the same thing we do right now: use "basic" as the default style.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions