Skip to content

Show a warning when mapbox.token is the default one #812

@arraydude

Description

@arraydude

Problem

We are using a Mapbox free access token to prevent some friction for the user , but we should encourage them to have their own one.

Solution

We should show a warning when:

  • mapbox.token is the default one
  • an element which uses mapbox behind scenes
    • st.map
    • deck_gl
    • pydeck
  • Only inside user apps, not for examples.

Possible additions:
Should we have a way to turn off warning ?, maybe setting it using st.set_warns(0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions