| add_mouse_position_control {mapboxer} | R Documentation | 
Add a mouse position control to the map
Description
Add a mouse position control to the map
Usage
add_mouse_position_control(map, mustache_template = NULL, pos = NULL,
  css_text = NULL)
Arguments
map | 
 A mapboxer object.  | 
mustache_template | 
 A mustache template
that contains the mustache tags   | 
pos | 
 The position of the control. One of   | 
css_text | 
 A   | 
Examples
map <- mapboxer(zoom = 4) %>%
  add_mouse_position_control(
    mustache_template = "<b>Lng:</b>{{lng}}, <b>Lat:</b>{{lat}}",
    pos = "bottom-left"
  )
if (interactive()) map
[Package mapboxer version 0.4.0 Index]