get_color_to_rgb_array: Create a getColor data accessor

View source: R/properties.R

get_color_to_rgb_arrayR Documentation

Create a getColor data accessor

Description

Creates a JS method to retrieve the color of each object. The method parses the HEX color property of the data object to an rgb color array.

Usage

get_color_to_rgb_array(color_property)

Arguments

color_property

property name of data object containing the HEX color

Value

JavaScript code evaluated on the client-side


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