Map

mapboxerOutput() renderMapboxer()

Shiny bindings for mapboxer

mapboxer()

Create a mapboxer widget

mapboxer_proxy()

Create a mapboxer proxy object

update_mapboxer()

Update a mapboxer proxy object in a Shiny app

fit_bounds()

Fit the map to a bounding box

set_view_state()

Set the view state of the map

Sources

add_source()

Add a Mapbox source to the map

as_mapbox_source()

Convert a data object to a Mapbox GeoJSON source

mapbox_source()

Create a Mapbox source

set_data()

Update the data of a Mapbox source

Layers

add_circle_layer()

Add a circle layer to the map

add_fill_layer()

Add a fill layer to the map

add_layer()

Add a layer to the map

add_line_layer()

Add a line layer to the map

set_filter()

Set the filter of a layer

set_paint_property() set_layout_property()

Update layer properties

add_popups()

Add popups to a layer

add_tooltips()

Add tooltips to a layer

add_marker()

Add a single marker to the map

Basemap Styles

basemap_background_style()

Create a background style

basemap_raster_style()

Create a raster style

set_style()

Set the style of the map

stamen_raster_tiles()

Get Stamen raster tile URLs

basemaps

A list of basemap style URLs

Controls

add_control() add_navigation_control() add_scale_control() add_fullscreen_control()

Add a standard control to the map

add_draw_control()

Add a draw control to the map (experimental)

add_filter_control()

Add a filter control to the map

add_mouse_position_control()

Add a mouse position control to the map

add_text_control()

Add a text control to the map

Sample Data

motor_vehicle_collisions_nyc

Motor Vehicle Collisions in NYC