0

I am trying to setup Apache-Superset, so that it uses OpenStreetMap instead of MapBox. I am currently using Superset in their local Python Version (not the Docker one), I have modified the config.py file (located in my venv libs folder), as followed:

TALISMAN_ENABLED = True

in TALISMAN_CONFIG and TALISMAN_DEV_CONFIG arrays I've added https://c.tile.openstreetmap.org in connect-src list and added:

DECKGL_BASE_MAP = [
     ['https://c.tile.openstreetmap.org/{z}/{x}/{y}.png', 'OpenStreetMap' ],
]

ENABLE_CORS = True
CORS_OPTIONS: dict[Any, Any] = {
    "origins": [
        "https://c.tile.openstreetmap.org",
    ]
}

Essentially I followed the instructions of that merged pulled request (which is supposed to have been merged (my understanding) to the version 5.0.0, but maybe it has been merged to the beta 6 which would explain the whole thing...

Since the changes have I made seem to have no effects (I can not select OSMs in the Map Style Selector), does anyone kow how to fix this?

========== Note that using the betha version resolved the issue...

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.