r - Finding the axis range in ggmap class -
when geocode ggmap:
library(ggmap) map_obj <- get_map("anchorage, ak")
how find lat , long ranges has? can str(map_obj) , see $ll.lat, $ll.lon ... how can these? i've tried map_obj$ll.lon
i'm asking question because subset data points visible area of map instead of throwing entire lat , long vectors @ ggmap.
to bounding box data:
attr(map_obj, "bb")
to specific coordinate:
attr(map_obj, "bb")$ll.lat
(and on)
Comments
Post a Comment