# NOT RUN {
library(moveVis)
library(move)
data("move_data")
# return a mapview map (mapview must be installed)
view_spatial(move_data)
# return a leaflet map (leaflet must be installed)
view_spatial(move_data, render_as = "leaflet")
# turn off time labels and legend
view_spatial(move_data, time_labels = FALSE, path_legend = FALSE)
# }
Run the code above in your browser using DataLab