mermaid_static_map_bounds: Get latitude and longitude bounds from a static map

Description Usage Arguments Value Examples

View source: R/mermaid_map_sites_static.R

Description

Get latitude and longitude bounds from a static map

Usage

1

Arguments

map

A static map produced from mermaid_map_sites_static

Value

A list of length two containing the longitude and latitude bounds of a map.

Examples

1
2
3
4
5
library(mermaidr)
sample_events <- mermaid_search_projects(name = "XPDC Kei Kecil 2018") %>%
  mermaid_get_project_data("fishbelt", "sampleevents", limit = 25)
p <- mermaid_map_sites_static(sample_events)
mermaid_static_map_bounds(p)

data-mermaid/mermaidreporting documentation built on May 23, 2020, 7 a.m.