implement geom_GeomMapTile()
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I have an sf object that I plot with a basemap background, and I would like to plot it with ggplot and transform it to a ggplotly object.
Something like this:
library(ggplot)
library(ggspatial)
lubrary(sf)
library(plotly)
p <- ggplot() +
annotation_map_tile(zoom = 7) +
geom_sf(data = SF_OBJECT)
ggplotly(p)
when I try to run this script, I dont get the basemap, and get the following warning:
'''r
Warning message:
In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
geom_GeomMapTile() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues
'''
I request the plotly developers to implement geom_GeomMapTile() .
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie mit der gemeldeten Warnung von geom_GeomMapTile() und reproduzieren Sie das bereitgestellte Beispiel mit ggplot, annotation_map_tile(), geom_sf() und ggplotly(). Als erledigt gilt die Aufgabe, wenn der Hintergrund der Kartentiles im resultierenden plotly-Objekt erhalten bleibt; das Issue nennt keine Repository-Dateien oder Tests, die die Implementierung anleiten könnten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- r
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100