createLeafletMap | R Documentation |
These functions are provided for backwards compatibility with the first iteration of the leaflet bindings (https://github.com/jcheng5/leaflet-shiny).
createLeafletMap(session, outputId)
leafletMap(
outputId,
width,
height,
initialTileLayer = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
initialTileLayerAttribution = NULL,
options = NULL
)
session , outputId |
Deprecated |
width , height , initialTileLayer , initialTileLayerAttribution , options |
Deprecated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.