GitHub user lucamuroni2000 created a discussion: How to create a custom map 
using Viz plugin

Hello everyone, I need help creating a custom plugin with a map that can be 
customised. I followed the tutorial in the official documentation using Yeoman 
to generate the plugin, and then I tested it to make sure everything was 
working. Initially, I had to solve a series of problems in an attempt to 
incorporate the plugin into the superset image I am building, mainly due to the 
fact that I do not have a custom Dockerfile, but I use the Dockerfile already 
present in the superset repository (specifically branch 6.0.0). but after 
solving them, I reached the point where I don't understand how to get the 
Mapbox API key from the backend to then render the chart map.

<img width="2179" height="1259" alt="Screenshot 2025-12-12 101613" 
src="https://github.com/user-attachments/assets/d8c4f292-03c3-472d-9eca-2ff5f968f27a";
 />

As you can see from the image, Mapbox rightly requires the API key, but I don't 
know how to pass it from the code.

I tried looking at the code for the maps already in Superset, such as Heatmap 
or Scatterplot, but I couldn't figure out where the API key set in the backend 
came from.

GitHub link: https://github.com/apache/superset/discussions/36591

----
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]

Reply via email to