leafletsyncOptions {leaflet.extras2} | R Documentation |
leafletsync Options
Description
Additional list of options.
Usage
leafletsyncOptions(
noInitialSync = FALSE,
syncCursor = TRUE,
offsetFn = JS("function (center, zoom, refMap, tgtMap) { return center; }")
)
Arguments
noInitialSync |
Setting to |
syncCursor |
The default |
offsetFn |
A JavaScript-function to compute an offset for the center. |
Value
A list of options for addLeafletsync
See Also
Other leafletsync Functions:
addLeafletsyncDependency()
,
addLeafletsync()
,
isSynced()
,
unsync()
[Package leaflet.extras2 version 1.2.2 Index]