implement geom_GeomMapTile()
还没有人认领这个 Issue。
- 主要语言
- R
- 星标
- 2.7k
- 派生
- 641
- PR 合并指标
- 30 天内没有已合并 PR
描述
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() .
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从报告的 geom_GeomMapTile() 警告开始,并复现提供的 ggplot、annotation_map_tile()、geom_sf() 和 ggplotly() 示例。当地图瓦片背景在生成的 plotly 对象中得以保留时,即视为完成;该 issue 未指定可用于指导实现的仓库文件或测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- r
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100