Skip to contents

Sometimes it makes sense to include the Leaflet Sync dependencies already before synchronizing maps. For example, if you want to use the `L.Sync.offsetHelper`. See the example in ./inst/examples/offsetHelper.R

Usage

addLeafletsyncDependency(map)

Arguments

map

the map

Value

A modified leaflet map

See also

Other leafletsync Functions: addLeafletsync(), isSynced(), leafletsyncOptions(), unsync()