leafletsyncOptions | R Documentation |
Additional list of options.
leafletsyncOptions(
noInitialSync = FALSE,
syncCursor = TRUE,
offsetFn = JS("function (center, zoom, refMap, tgtMap) { return center; }")
)
noInitialSync |
Setting to |
syncCursor |
The default |
offsetFn |
A JavaScript-function to compute an offset for the center. |
A list of options for addLeafletsync
Other leafletsync Functions:
addLeafletsync()
,
addLeafletsyncDependency()
,
isSynced()
,
unsync()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.