addLeafletsyncDependency {leaflet.extras2} | R Documentation |
Add the Leaflet Sync JS dependencies
Description
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
Usage
addLeafletsyncDependency(map)
Arguments
map |
the map |
Value
A modified leaflet map
See Also
Other leafletsync Functions:
addLeafletsync()
,
isSynced()
,
leafletsyncOptions()
,
unsync()
[Package leaflet.extras2 version 1.2.2 Index]