inst/legacy/examples/geojson/ui.R

library(leaflet)

shinyUI(fluidPage(
  leafletMap("map", 600, 400, options = list(
    center = c(47.6659641734893, -122.376078869215),
    zoom = 13
  )),
  htmlOutput("details")
))

Try the leaflet package in your browser

Any scripts or data that you put into this service are public.

leaflet documentation built on Sept. 9, 2025, 5:28 p.m.