R/layers.R
add_tooltips.Rd
Add tooltips to a layer
add_tooltips(map, layer_id, tooltip)
A mapboxer object.
The ID of the layer to which you want to add the tooltips.
A mustache template in which the tags refer to the properties of the layer's data object.