Skip to contents

Additional list of options.

Usage

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: addLeafletsync(), addLeafletsyncDependency(), isSynced(), unsync()