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
tmap_arrange throws a ! object 'lfmv' not found with tmap_mode("view").
Reproducible example and error below:
Rendering: /Users/XXXXX/tmp.Rmd
|...............................................................................................................................| 100% [unnamed-chunk-1]Error in print_tmap_arrange():
! object 'lfmv' not found
Backtrace:
Thanks for this example, because it raises a follow-up question:
Currently, the projection (in v4 called crs) of the map is first determined by the tmap option "crs". If this is NA, then it will use the crs argument of tm_shape (or qtm). If that is unspecified, then it will take the crs of the shape (sf) object.
So the order of preference within tmap is:
tm_option crs > tm_shape crs > shape object crs
In plot mode, the tmap option crs is set to NA, but in view mode it is set to 4326. This means that in your example, w1 and w2 will produce the same map in view mode. This can be changed by:
tmap_arrange throws a
! object 'lfmv' not found
withtmap_mode("view")
.Reproducible example and error below:
The text was updated successfully, but these errors were encountered: