Skip to contents

Replace the project displayed by a GeoLibre Shiny widget

Usage

update_geolibre(proxy, map)

Arguments

proxy

A GeoLibre proxy created by geolibre_proxy().

map

A GeoLibre widget or project list.

Value

The proxy, invisibly.

Examples

if (interactive() && requireNamespace("shiny", quietly = TRUE)) {
  update_geolibre(geolibre_proxy("map"), geolibre())
}