Package: mapgl 0.4.9.9000

Kyle Walker

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

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.

Authors:Kyle Walker [aut, cre], Egor Kotov [aut, ctb]

mapgl_0.4.9.9000.tar.gz
mapgl_0.4.9.9000.zip(r-4.7)mapgl_0.4.9.9000.zip(r-4.6)mapgl_0.4.9.9000.zip(r-4.5)
mapgl_0.4.9.9000.tgz(r-4.6-any)mapgl_0.4.9.9000.tgz(r-4.5-any)
mapgl_0.4.9.9000.tar.gz(r-4.7-any)mapgl_0.4.9.9000.tar.gz(r-4.6-any)
mapgl_0.4.9.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
mapgl/json (API)
NEWS

# Install 'mapgl' in R:
install.packages('mapgl', repos = c('https://e-kotov.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/walkerke/mapgl/issues

Pkgdown/docs site:https://walker-data.com

Datasets:

On CRAN:

Conda:

5.57 score 1 stars 5 packages 1.3k downloads 135 exports 57 dependencies

Last updated from:839f12d1fb (on flowmap). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK254
source / vignettesOK310
linux-release-x86_64OK241
macos-release-arm64OK166
macos-oldrel-arm64OK198
windows-develOK190
windows-releaseOK197
windows-oldrelOK178
wasm-releaseOK156

Exports:add_bivariate_legendadd_categorical_legendadd_circle_layeradd_continuous_legendadd_controladd_coordinates_controladd_draw_controladd_features_to_drawadd_fill_extrusion_layeradd_fill_layeradd_flowmapadd_fullscreen_controladd_geocoder_controladd_geolocate_controladd_globe_controladd_globe_minimapadd_h3j_sourceadd_heatmap_layeradd_imageadd_image_sourceadd_layeradd_layer_tuneradd_layers_controladd_legendadd_line_layeradd_markersadd_navigation_controladd_pmtiles_sourceadd_raster_dem_sourceadd_raster_layeradd_raster_sourceadd_reset_controladd_scale_controladd_screenshot_controladd_sourceadd_symbol_layeradd_time_controladd_vector_sourceadd_video_sourceadd_viewbasemap_stylebivariate_palettesbivariate_scalecarto_styleclear_controlsclear_drawn_featuresclear_layerclear_legendclear_markerscluster_optionscompareconcatdraw_attributeease_toenable_shiny_hoveresri_open_styleesri_stylefit_boundsflowmap_color_schemesfly_toget_breaksget_columnget_drawn_featuresget_legend_colorsget_legend_labelsget_queried_featuresinterpolateinterpolate_palettejump_tolegend_stylemapbox_stylemapboxglmapboxgl_compare_proxymapboxgl_proxymapboxgl_viewmapboxglCompareOutputmapboxglOutputmaplibremaplibre_compare_proxymaplibre_proxymaplibre_viewmaplibreCompareOutputmaplibreOutputmaptiler_stylematch_exprmove_layernumber_formaton_sectionopenfreemap_stylepalette_to_lutpopup_optionsprint_mapquery_rendered_featuresrenderMapboxglrenderMapboxglComparerenderMaplibrerenderMaplibreComparesave_mapset_config_propertyset_filterset_flowmap_filterset_flowmap_settingsset_fogset_layout_propertyset_paint_propertyset_popupset_projectionset_rainset_snowset_sourceset_styleset_terrainset_tooltipset_viewstep_equal_intervalstep_exprstep_jenksstep_quantilestory_leafletstory_mapstory_maplibrestory_sectiontooltip_optionsturf_areaturf_bufferturf_center_of_massturf_centroidturf_concave_hullturf_convex_hullturf_differenceturf_distanceturf_filterturf_intersectturf_unionturf_voronoi

Dependencies:base64encbslibcachemclassclassIntclicommonmarkDBIdigeste1071evaluatefastmapfontawesomefsgeojsonsfgeometriesgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonifyjsonliteKernSmoothknitrlaterlifecyclemagrittrMASSmemoisemimeotelpngpromisesproxyR6rapidjsonrrappdirsRcpprlangrmarkdowns2sasssfsfheadersshinysourcetoolsterratinytexunitsviridisLitewithrwkxfunxtableyaml

Readme and manuals

Help Manual

Help pageTopics
Add a bivariate legendadd_bivariate_legend
Add a circle layer to a Mapbox GL mapadd_circle_layer
Add a custom control to a mapadd_control
Add a coordinates control to a mapadd_coordinates_control
Add a draw control to a mapadd_draw_control
Add features to an existing draw controladd_features_to_draw
Add a fill-extrusion layer to a Mapbox GL mapadd_fill_extrusion_layer
Add a fill layer to a mapadd_fill_layer
Adds a FlowmapGL layer for visualizing origin-destination flows between point locations.add_flowmap
Add a fullscreen control to a mapadd_fullscreen_control
Add a geocoder control to a mapadd_geocoder_control
Add a geolocate control to a mapadd_geolocate_control
Add a globe control to a mapadd_globe_control
Add a Globe Minimap to a mapadd_globe_minimap
Add a hexagon source from the H3 geospatial indexing system.add_h3j_source
Add a heatmap layer to a Mapbox GL mapadd_heatmap_layer
Add an image to the mapadd_image
Add an image source to a Mapbox GL or Maplibre GL mapadd_image_source
Add a layer to a map from a sourceadd_layer
Add a Layer Tuner to a mapadd_layer_tuner
Add a layers control to the mapadd_layers_control
Add a line layer to a mapadd_line_layer
Add markers to a Mapbox GL or Maplibre GL mapadd_markers
Add a navigation control to a mapadd_navigation_control
Add a PMTiles source to a Mapbox GL or Maplibre GL mapadd_pmtiles_source
Add a raster DEM source to a Mapbox GL or Maplibre GL mapadd_raster_dem_source
Add a raster layer to a Mapbox GL mapadd_raster_layer
Add a raster tile source to a Mapbox GL or Maplibre GL mapadd_raster_source
Add a reset control to a mapadd_reset_control
Add a scale control to a mapadd_scale_control
Add a screenshot control to a mapadd_screenshot_control
Add a GeoJSON or sf source to a Mapbox GL or Maplibre GL mapadd_source
Add a symbol layer to a mapadd_symbol_layer
Add a time control with a histogramadd_time_control
Add a vector tile source to a Mapbox GL or Maplibre GL mapadd_vector_source
Add a video source to a Mapbox GL or Maplibre GL mapadd_video_source
Add a visualization layer to an existing mapadd_view
Create a blank basemap stylebasemap_style
Bivariate color palettesbivariate_palettes
Create a bivariate color scalebivariate_scale
BIXI Montréal Hourly Bike Sharing Flows (July 1-7, 2019)bixi_flows
BIXI Montréal Bike Share Stations (2019)bixi_locations
Get CARTO Style URLcarto_style
Extract information from classification and continuous scale objectsclassification_helpers get_breaks get_legend_colors get_legend_labels print.mapgl_classification print.mapgl_continuous_scale
Clear controls from a Mapbox GL or Maplibre GL map in a Shiny appclear_controls
Clear all drawn features from a mapclear_drawn_features
Clear layers from a map using a proxyclear_layer
Clear legends from a mapclear_legend
Clear markers from a map in a Shiny sessionclear_markers
Prepare cluster options for circle layerscluster_options
Create a Compare widgetcompare
Create a concatenation expressionconcat
Define an editable draw attributedraw_attribute
Ease to a given viewease_to
Enable hover events for Shiny applicationsenable_shiny_hover
Get Esri Open Basemap Style URLesri_open_style
Get Esri ArcGIS Basemap Style URLesri_style
Fit the map to a bounding boxfit_bounds
FlowMapGL color scheme namesflowmap_color_schemes
Fly to a given viewfly_to
Get column or property for use in mappingget_column
Get drawn features from the mapget_drawn_features
Get queried features from a map as an sf objectget_queried_features
Create an interpolation expressioninterpolate
Create an interpolation expression with automatic palette and break calculationinterpolate_palette
Jump to a given viewjump_to
Create custom styling for map legendslegend_style
Add legends to Mapbox GL and MapLibre GL mapsadd_categorical_legend add_continuous_legend add_legend add_legend.mapboxgl_compare add_legend.maplibre_compare map_legends
Get Mapbox Style URLmapbox_style
Initialize a Mapbox GL Mapmapboxgl
Create a proxy object for a Mapbox GL Compare widget in Shinymapboxgl_compare_proxy
Create a proxy object for a Mapbox GL map in Shinymapboxgl_proxy
Quick visualization of geometries with Mapbox GLmapboxgl_view
Create a Mapbox GL Compare output element for ShinymapboxglCompareOutput
Create a Mapbox GL output element for ShinymapboxglOutput
Initialize a Maplibre GL Mapmaplibre
Create a proxy object for a Maplibre GL Compare widget in Shinymaplibre_compare_proxy
Create a proxy object for a Maplibre GL map in Shinymaplibre_proxy
Quick visualization of geometries with MapLibre GLmaplibre_view
Create a Maplibre GL Compare output element for ShinymaplibreCompareOutput
Create a Maplibre GL output element for ShinymaplibreOutput
Get MapTiler Style URLmaptiler_style
Create a match expressionmatch_expr
Move a layer to a different z-positionmove_layer
Create a number formatting expressionnumber_format
Observe events on story map section transitionson_section
Get OpenFreeMap Style URLopenfreemap_style
Convert R color palette to mapgl LUTpalette_to_lut
Configure popup optionspopup_options
Render a map as a static imageprint_map
Query rendered features on a map in a Shiny sessionquery_rendered_features
Render a Mapbox GL output element in ShinyrenderMapboxgl
Render a Mapbox GL Compare output element in ShinyrenderMapboxglCompare
Render a Maplibre GL output element in ShinyrenderMaplibre
Render a Maplibre GL Compare output element in ShinyrenderMaplibreCompare
Save a map as a static PNG imagesave_map
Set a configuration property for a Mapbox GL mapset_config_property
Set a filter on a map layerset_filter
Update flowmap filterset_flowmap_filter
Update a flowmap settingset_flowmap_settings
Set fog on a Mapbox GL mapset_fog
Set a layout property on a map layerset_layout_property
Set a paint property on a map layerset_paint_property
Set popup on a map layerset_popup
Set Projection for a Mapbox/Maplibre Mapset_projection
Set rain effect on a Mapbox GL mapset_rain
Set snow effect on a Mapbox GL mapset_snow
Set source of a map layerset_source
Update the style of a mapset_style
Set terrain properties on a mapset_terrain
Set tooltip on a map layerset_tooltip
Set the map center and zoom levelset_view
Step expressions with automatic classificationstep_classification step_equal_interval step_jenks step_quantile
Create a step expressionstep_expr
Create a scrollytelling story map with Leafletstory_leaflet
Create a scrollytelling story mapstory_map
Create a scrollytelling story map with MapLibrestory_maplibre
Create a story section for story mapsstory_section
Configure tooltip optionstooltip_options
Calculate area of geometriesturf_area
Turf.js Geospatial Operations for mapglturf_buffer
Calculate center of massturf_center_of_mass
Calculate centroid of geometriesturf_centroid
Create concave hullturf_concave_hull
Create convex hullturf_convex_hull
Find difference between two geometriesturf_difference
Calculate distance between two featuresturf_distance
Spatial filter features by predicateturf_filter
Find intersection of two geometriesturf_intersect
Union geometriesturf_union
Create Voronoi diagramturf_voronoi