默认情况mapview
下,鼠标光标和投影信息显示在地图顶部的框中。
默认情况下,如何隐藏此信息框leaflet
?
library(leaflet)
library(mapview)
leaflet(data = breweries) %>%
addTiles() %>%
addCircleMarkers()
其次,是否有显示基本样式的选项leaflet
?
leaflet(data = breweries) %>%
addTiles() %>%
addCircleMarkers() %>%
addMouseCoordinates(style = "basic")
我试过这样做,但找不到解决方案:
library(mapview)
m <- mapview(breweries)
m@map <- m@map %>%
addMouseCoordinates(style = "basic")
m
感谢你的回答!