get_position {deckgl}R Documentation

Create a getPosition data accessor

Description

Creates a JS method to retrieve the position of each object.

Usage

get_position(latitude = NULL, longitude = NULL, coordinates = NULL)

Arguments

latitude

latitude property of data object

longitude

longitude property of data object

coordinates

coordinates property of data object (in this case latitude and longitude parameters are ignored)

Value

JavaScript code evaluated on the client-side


[Package deckgl version 0.2.7 Index]