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 May 29, 2024, 1:19 a.m.