## ---- include = FALSE----------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ----setup---------------------------------------------------------------
library(myMap)
## ------------------------------------------------------------------------
myMap = MapStamen$new(left = 86.05, bottom = 27.21,
right = 87.81, top = 28.76,
mapType = "terrain-background", Zoom = 8)
## ------------------------------------------------------------------------
myMap$showMap()
## ------------------------------------------------------------------------
myMap = MapStamen$new(left = 86.05, bottom = 27.21,
right = 87.81, top = 28.76,
mapType = "terrain", Zoom = 8)
myMap$showMap()
## ------------------------------------------------------------------------
myMap$saveMap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.