Developing Data Products peer graded assignment

Creating maps

In this project, two maps have been created. First one is the exact location of my home in Indore and second one will take you to an amazing place in Delhi called Malcha Mahal.

To begin with, we are loading a library called ‘leaflet’

library(leaflet)
## Warning: package 'leaflet' was built under R version 3.6.3

After that, we are creating a map using the follwing R programme

map <- leaflet() %>%
addTiles()
map

A very interceptive map is now created using leaflet.

This programme is creating a map which shows my home in Usha Nagar Indore. Do visit my place sometime.

Rishabh <- c("House")
leaflet() %>%
addTiles() %>%
addMarkers(lat=22.699130, lng=75.836627, popup = Rishabh)

The map has a red marker which is showing my residential area.

NOw I am going to give the loacation of malcha mahal in the map below which is situated in the central ridge reserved forest in Delhi, it is an amazing place but beware the place is known to be haunted :p

Malcha <- c("Malcha")
leaflet() %>%
addTiles() %>%
addMarkers(lat=28.608880, lng=77.181002, popup = Malcha)

The map shows the exact area of Malcha Mahal in Delhi. do visit the place sometimes but try to return before sunset to avoid unnecessary adventures, have a safe trip, enjoy and do give me a review of the place,