add_text_control: Add a text control to the map

Description Usage Arguments

View source: R/custom-controls.R

Description

Add a text control to the map

Usage

1
add_text_control(map, text, pos = NULL, css_text = NULL)

Arguments

map

A mapboxer object.

text

The text (HTML) that is displayed.

pos

The position of the control. One of top-left, top-right, bottom-right or bottom-left.

css_text

A cssText string that will modify the style of the control element.


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