get_position: Create a getPosition data accessor

View source: R/properties.R

get_positionR 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


deckgl documentation built on March 7, 2023, 5:37 p.m.