Additional list of options.
leafletsyncOptions(
noInitialSync = FALSE,
syncCursor = TRUE,
offsetFn = JS("function (center, zoom, refMap, tgtMap) { return center; }")
)
Setting to TRUE
disables initial synchronization
of the maps. The default is FALSE
.
The default TRUE
adds a circle marker on the
synced map.
A JavaScript-function to compute an offset for the center.
A list of options for addLeafletsync
Other leafletsync Functions:
addLeafletsyncDependency()
,
addLeafletsync()
,
isSynced()
,
unsync()