maplibre_proxy: Create a proxy object for a Maplibre GL map in Shiny

View source: R/shiny.R

maplibre_proxyR Documentation

Create a proxy object for a Maplibre GL map in Shiny

Description

This function allows updates to be sent to an existing Maplibre GL map in a Shiny application without redrawing the entire map.

Usage

maplibre_proxy(mapId, session = shiny::getDefaultReactiveDomain())

Arguments

mapId

The ID of the map output element.

session

The Shiny session object.

Value

A proxy object for the Maplibre GL map.


mapgl documentation built on Nov. 1, 2024, 5:08 p.m.