isSynced | R Documentation |
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.
isSynced(map, id = NULL, syncwith = NULL)
map |
the map |
id |
The map id |
syncwith |
Is the map synchronized with one of these maps? |
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
.
A map
Other leafletsync Functions:
addLeafletsync()
,
addLeafletsyncDependency()
,
leafletsyncOptions()
,
unsync()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.