Creates a shiny module which uses leafletProxy
to update tiles displayed on a leaflet map.
tilesUpdater(input, output, session, proxy, rctUrlTemplateSingleRaster, tilesGroup, addTilesParameters = NULL, addLayersControlParameters = NULL)
input | shiny server input object |
---|---|
output | shiny server output object |
session | shiny server session object |
proxy | leaflet proxy which manages a connected leaflet map. |
rctUrlTemplateSingleRaster | Reactive value which contains the URL template with the tiles (for a single raster) that should be added to the leaflet map as a result. |
tilesGroup | Group of rasters/tiles we want to update. |
addTilesParameters | Additional parameters of |
addLayersControlParameters | Additional parameters passed to
|
None. Invoked for the side-effect of sending information to leaflet proxy.
This is a server-only module with no UI component.