You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to apply to my use case and no polygons were showing up, so i tried with the basic example with the package readme, and no points showed up in that application either.
library(leaflet)
library(leafgl)
library(sf)
n = 1e6
df1 = data.frame(id = 1:n,
x = rnorm(n, 10, 3),
y = rnorm(n, 49, 1.8))
pts = st_as_sf(df1, coords = c("x", "y"), crs = 4326)
options(viewer = NULL) # view in browser
leaflet() %>%
addProviderTiles(provider = providers$CartoDB.DarkMatter) %>%
addGlPoints(data = pts, group = "pts") %>%
setView(lng = 10.5, lat = 49.5, zoom = 6)
(The base tiles open in the browser, but the points don't render)
I was trying to apply to my use case and no polygons were showing up, so i tried with the basic example with the package readme, and no points showed up in that application either.
(The base tiles open in the browser, but the points don't render)
Session info:
The text was updated successfully, but these errors were encountered: