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
This happens because annotation_map() is old code that predates geom_sf(). Only sf layers are reprojected. While it would be nice to reproject other layers, there are numerous technical hurdles that make me think it's not going to happen anytime soon.
At this point, the best way forward is probably to amend the documentation accordingly.
When using
coord_sf()
to change the projection of a map, the background layer produced byannotation_map()
is not getting reprojected.First, a plot without changing projection, using the annotation_map layer to give more context to North Carolina
However, changing the projection looses the annotation layer, but reprojects the geometry layer
It looks to me like the annotation_layer is not being reprojected.
The text was updated successfully, but these errors were encountered: