Additional list of options.

leafletsyncOptions(
  noInitialSync = FALSE,
  syncCursor = TRUE,
  offsetFn = JS("function (center, zoom, refMap, tgtMap) { return center; }")
)

Arguments

noInitialSync

Setting to TRUE disables initial synchronization of the maps. The default is FALSE.

syncCursor

The default TRUE adds a circle marker on the synced map.

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()