add_tooltips: Add tooltips to a layer

Description Usage Arguments

View source: R/layers.R

Description

Add tooltips to a layer

Usage

1
add_tooltips(map, layer_id, tooltip)

Arguments

map

A mapboxer object.

layer_id

The ID of the layer to which you want to add the tooltips.

tooltip

A mustache template in which the tags refer to the properties of the layer's data object.


crazycapivara/mapboxer documentation built on Nov. 13, 2021, 3:22 a.m.