GitHub user dosubot[bot] added a comment to the discussion: Can I make superset use vietmap ?
<!-- Answer --> Superset does not support Vietmap or other custom tile providers out-of-the-box for deck.gl charts. The frontend map controls and validators are hardcoded to only accept Mapbox style URLs, so simply configuring a Vietmap tile URL will not work and will be rejected by the validator. If you want to use Vietmap, you would need to patch the frontend code—specifically, update the URL validator and possibly the map style controls—to allow non-Mapbox URLs. You do not need to rewrite all frontend code, but you do need to modify the relevant controls and validators to accept and properly handle Vietmap tile URLs. There is no built-in or documented way to do this, so some custom development is required. For details, see the code and validator logic in the DeckGLContainer and map style controls ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/packages/superset-ui-core/src/validator/validateMapboxStylesUrl.ts#L26-L36)). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c99e729a-166f-4718-9fab-96e7cdb43259?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/36080) GitHub link: https://github.com/apache/superset/discussions/36080#discussioncomment-14944654 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
