mapgl0.1.4 package

Interactive Maps with 'Mapbox GL JS' and 'MapLibre GL JS'

add_categorical_legend

Add a categorical legend to a Mapbox GL map

add_circle_layer

Add a circle layer to a Mapbox GL map

add_continuous_legend

Add a continuous legend

add_draw_control

Add a draw control to a map

add_fill_extrusion_layer

Add a fill-extrusion layer to a Mapbox GL map

add_fill_layer

Add a fill layer to a map

add_fullscreen_control

Add a fullscreen control to a map

add_geocoder_control

Add a geocoder control to a map

add_geolocate_control

Add a geolocate control to a map

add_globe_minimap

Add a Globe Minimap to a map

add_heatmap_layer

Add a heatmap layer to a Mapbox GL map

add_image_source

Add an image source to a Mapbox GL or Maplibre GL map

add_image

Add an image to the map

add_layer

Add a layer to a map from a source

add_layers_control

Add a layers control to the map

add_legend

Add a legend to a Mapbox GL map

add_line_layer

Add a line layer to a map

add_markers

Add markers to a Mapbox GL or Maplibre GL map

add_navigation_control

Add a navigation control to a map

add_raster_dem_source

Add a raster DEM source to a Mapbox GL or Maplibre GL map

add_raster_layer

Add a raster layer to a Mapbox GL map

add_raster_source

Add a raster tile source to a Mapbox GL or Maplibre GL map

add_reset_control

Add a reset control to a map

add_scale_control

Add a scale control to a map

add_source

Add a GeoJSON or sf source to a Mapbox GL or Maplibre GL map

add_symbol_layer

Add a symbol layer to a map

add_vector_source

Add a vector tile source to a Mapbox GL or Maplibre GL map

add_video_source

Add a video source to a Mapbox GL or Maplibre GL map

carto_style

Get CARTO Style URL

clear_controls

Clear all controls from a Mapbox GL or Maplibre GL map in a Shiny app

clear_layer

Clear a layer from a map using a proxy

clear_legend

Clear legend from a map in a proxy session

clear_markers

Clear markers from a map in a Shiny session

cluster_options

Prepare cluster options for circle layers

compare

Create a Compare slider widget

ease_to

Ease to a given view

fit_bounds

Fit the map to a bounding box

fly_to

Fly to a given view

get_column

Get column or property for use in mapping

get_drawn_features

Get drawn features from the map

interpolate

Create an interpolation expression

jump_to

Jump to a given view

mapbox_style

Get Mapbox Style URL

mapboxgl_proxy

Create a proxy object for a Mapbox GL map in Shiny

mapboxgl

Initialize a Mapbox GL Map

mapboxglOutput

Create a Mapbox GL output element for Shiny

mapgl-package

mapgl: Interactive Maps with 'Mapbox GL JS' and 'MapLibre GL JS'

maplibre_proxy

Create a proxy object for a Maplibre GL map in Shiny

maplibre

Initialize a Maplibre GL Map

maplibreOutput

Create a Maplibre GL output element for Shiny

maptiler_style

Get MapTiler Style URL

match_expr

Create a match expression

move_layer

Move a layer to a different z-position

renderMapboxgl

Render a Mapbox GL output element in Shiny

renderMaplibre

Render a Maplibre GL output element in Shiny

set_config_property

Set a configuration property for a Mapbox GL map

set_filter

Set a filter on a map layer

set_fog

Set fog on a Mapbox GL map

set_layout_property

Set a layout property on a map layer

set_paint_property

Set a paint property on a map layer

set_style

Update the style of a map

set_terrain

Set terrain properties on a map

set_view

Set the map center and zoom level

step_expr

Create a step expression

Provides an interface to the 'Mapbox GL JS' (<https://docs.mapbox.com/mapbox-gl-js/guides>) and the 'MapLibre GL JS' (<https://maplibre.org/maplibre-gl-js/docs/>) interactive mapping libraries to help users create custom interactive maps in R. Users can create interactive globe visualizations; layer 'sf' objects to create filled maps, circle maps, 'heatmaps', and three-dimensional graphics; and customize map styles and views. The package also includes utilities to use 'Mapbox' and 'MapLibre' maps in 'Shiny' web applications.