Search results

ShapeSettings API in React Maps API component

Sets and gets the options to customize the shapes in the maps.

Properties

autofill

boolean

Enables or disables the filling of color for the shapes automatically.

Defaults to false

border

BorderModel

Sets and gets the options for customizing the color and width of the border for the shapes in maps.

circleRadius

number

Sets and gets the radius of the shape.

colorMapping

ColorMappingSettingsModel[]

Sets and gets the options to map the color for some set of the shapes in maps.

Defaults to []

colorValuePath

string

Sets and gets the value path from the data source to set the color for the shapes in maps.

Defaults to null

dashArray

string

Sets and gets the dash-array for the shapes in maps.

fill

string

Sets and gets the color of the shapes in maps.

Defaults to ‘#A6A6A6’

opacity

number

Sets and gets the opacity for the shapes in maps.

Defaults to 1

palette

string[]

Sets and gets a set of colors for the shapes in maps.

Defaults to []

valuePath

string

Sets and gets the value from the data source based on which the shape gets rendered.

Defaults to null