Victor D. Saldaña C.

PhD(c) in Geoinformatics Engineering
Technical University of Madrid (Spain)
November 12, 2016

Summary.

This is the report of the design of a web page using R Markdown that features a map created with Leaflet.

1. Load packages.

Let’s load the packages needed. If you haven’t download them do it first.

library("leaflet")

2. Map of the Center of Madrid, Sapin.

MyMap=leaflet()
MyMap=addTiles(MyMap)
MyMap=addMarkers(MyMap,lat= 40.42,lng=-3.70,popup="Madrid")
MyMap