Skip to contents

Mirrors the leafletProxy() pattern: update a live canvas without re-rendering the whole widget. Inside a Shiny module, pass the module's (un-namespaced) output id; it is namespaced with the module session, as leaflet::leafletProxy() does.

Usage

at_canvas_proxy(id, session = shiny::getDefaultReactiveDomain())

Arguments

id

The canvas output id.

session

The Shiny session.

Value

An atcanvas_proxy object.