paleolimbot / ggspatial

Enhancing spatial visualization in ggplot2
https://paleolimbot.github.io/ggspatial
368 stars 34 forks source link

Fix annotation_spatial() for ggplot release #115

Closed paleolimbot closed 1 year ago

paleolimbot commented 1 year ago

Closes #114.

library(ggplot2)
library(ggspatial)
load_longlake_data()

packageVersion("ggplot2")
#> [1] '3.4.2'

ggplot() +
  annotation_spatial(longlake_roadsdf, size = 2, col = "black") +
  layer_spatial(longlake_depthdf, aes(fill = DEPTH_M))

Created on 2023-04-06 with reprex v2.0.2