set_tooltip: Set tooltip on a map layer

View source: R/shiny.R

set_tooltipR Documentation

Set tooltip on a map layer

Description

Set tooltip on a map layer

Usage

set_tooltip(map, layer, tooltip)

Arguments

map

A map object created by the mapboxgl or maplibre function, or a proxy object.

layer

The ID of the layer to update.

tooltip

The name of the tooltip to set.

Value

The updated map object.


mapgl documentation built on June 8, 2025, 1:57 p.m.