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 Nov. 14, 2023, 1:08 a.m.