Widget used to highlight efficiency of geoarrow data transfer. Doesn't do anything
useful, other than attaching data to a generated htmlwidget and printing that
in the browser console.
Usage
geoarrowDummyWidget(
message,
file,
url,
dataname = "mygeoarrowdata",
width = NULL,
height = NULL,
elementId = NULL
)Arguments
- message
Some text to be displayed on the generated web page.
- file
A local file path to a geoarrow file to be attached to the widget.
- url
A URL to a geoarrow file to be attached to the widget. Ignored if
fileis supplied.- dataname
The
'ATTACHINDEX'to be used for the data attachment. SeehtmlDependencyfor details, especially theDetailssection onattachment.- width
Fixed width for widget (in css units). See
createWidgetfor details.- height
Fixed height for widget (in css units). See
createWidgetfor details.- elementId
Use an explicit element ID for the widget. See
createWidgetfor details.
Examples
url = "https://geoarrow-test.s3.eu-central-1.amazonaws.com/test_layer_interleaved.arrow"
wgt = geoarrowDummyWidget(url = url)
options(viewer = NULL)
wgt