Introduction

Welcome to my interactive map created using Leaflet! Below, you’ll find an interactive map showcasing a location of interest. The map is built with the Leaflet package in R.

Leaflet Map

# Create a simple Leaflet map centered at a specific location
leaflet() %>%
  addTiles() %>%  # Add the default OpenStreetMap tiles
  setView(lng = -73.9857, lat = 40.7484, zoom = 13) %>%  # Set initial view (New York City)
  addMarkers(lng = -73.9857, lat = 40.7484, popup = "Empire State Building")