【发布时间】:2017-10-14 17:26:13
【问题描述】:
我尝试使用 Leaflet Package 中的 addTiles 函数绘制德里位置。下面是代码:
leaflet()%>%
addTiles(map = "Delhi",urlTemplate = "http://www.openstreetmap.org/search?query=delhi#map=11/28.6518/77.2219",attribution = 'Google')
收到此错误:map$x 中的错误:$ 运算符对原子向量无效
我搜索了解决方案,但找不到特定问题的答案。
【问题讨论】: