addLeafletsyncDependency | R Documentation |
Sometimes it makes sense to include the Leaflet Sync dependencies already
before synchronizing maps. For example, if you want to use the
'L.Sync.offsetHelper'. See the example in
./inst/examples/offsetHelper.R
addLeafletsyncDependency(map)
map |
the map |
A modified leaflet map
Other leafletsync Functions:
addLeafletsync()
,
isSynced()
,
leafletsyncOptions()
,
unsync()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.