get_color_to_rgb_array {deckgl}R 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


[Package deckgl version 0.2.7 Index]