Skip to contents

Add MapLibre fullscreen control

Usage

add_fullscreen(map, position = "topright", ...)

Arguments

map

A maplamina widget created by maplamina().

position

Control position: "topleft", "topright", "bottomleft", "bottomright".

...

Named options passed through to the underlying MapLibre control.

Value

The modified map widget.

Examples

maplamina() |>
  add_fullscreen()