| isSynced {leaflet.extras2} | R Documentation |
Is a map synchronized?
Description
Is a map snychronized with any or a specific map?
Invoking this method sets a Shiny input that returns TRUE when
the map is synchronized with another map. If syncwith is
set, TRUE is returned if the map is synchronized exactly
with that other map.
Usage
isSynced(map, id = NULL, syncwith = NULL)
Arguments
map |
the map |
id |
The map id |
syncwith |
Is the map synchronized with one of these maps? |
Details
The Siny input name is combined of the map-id and "_synced".
For a map with id map1 the input can be retrieved with
input$map1_synced.
Value
A map
See Also
Other leafletsync Functions:
addLeafletsyncDependency(),
addLeafletsync(),
leafletsyncOptions(),
unsync()
[Package leaflet.extras2 version 1.2.2 Index]