## ---- include = FALSE--------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----setup-------------------------------------------------------------------- library(MGPSDK) ## ----------------------------------------------------------------------------- #instantiate the interface #interface = MGPSDK::Interface$new() #interface$basemaps_download_image(bbox = "minx,miny,maxx,maxy", srsname = "EPSG:4326",height = 512,width = 512,img_format = "jpeg", outputpath =file.path("Users/user/documents","download4326basemaps.jpeg"))