Mapbox Standard Map Style Not Showing
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 18.8k
- Forks
- 2.8k
- Merge moyen
- 16 h 26 min
- PR mergées (30 j)
- 21
Description
Hi,
Mapbox recently came out with an absolutely stunning new map style named standard see demo, which requires GL JS 3, I was trying to import the script and stylesheet into my dash app externally as follows,
mapbox_scripts = ['https://api.mapbox.com/mapbox-gl-js/v3.0.1/mapbox-gl.js']
mapbox_stylesheets = ['https://api.mapbox.com/mapbox-gl-js/v3.0.1/mapbox-gl.css']
app = dash.Dash(__name__, external_stylesheets=mapbox_stylesheets, external_scripts=mapbox_scripts)
Which indeed is imported through browser inspector. However, it did not show the base map, it's just a blank background with some of my data point markers I manually put in. And I have tried this procedure using in just a html file, which does load the map properly, this may be a feature request or a bug report. I have tried all other mapbox style with different versions, which they all works and looks great, but it would be wonderfult if this stunning 3d map style is embded into plotly.
Thanks!
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
L’issue ne mentionne aucun fichier du dépôt ni aucun test. Commencez par reproduire l’application Dash avec Mapbox GL JS 3 et le style standard, puis comparez-la à la procédure HTML autonome ; le travail est terminé lorsque le fond de carte standard s’affiche et que les marqueurs de données existants continuent de fonctionner.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, python
- Domaine
- data-visualization, web-dev
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100