## Not run:
# # duplicates osm base map
# addBaseMap(
# name="myosm",
# title="Duplicated OpenStreetMap",
# url="http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
# options=list(
# attribution='© <a href="http://openstreetmap.org/copyright", target=
# "_blank">OpenStreetMap contributors</a>'
# )
# )
#
# map <- leaflet(base.map="myosm", dest=tempdir())
# ## End(Not run)
Run the code above in your browser using DataLab