Marker
public struct Marker : Encodable
Undocumented
-
Sets the marker fill color.
It accepts a specific color.If the color is not fully opaque and there are hundreds of thousandsof points, it may cause slower zooming and panning.
Declaration
Swift
public var color: Color? -
Sets the marker opacity.
The default value is
1(fully opaque). If the markers are not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. Opacity fades the color even ifblendis left onfalseeven if there is no translucency effect in that case.Declaration
Swift
public var opacity: Double? -
Determines if colors are blended together for a translucency effect in case
opacityis specified as a value less then1.Setting
blendtotruereduces zoom/pan speed if used with large numbers of points.Declaration
Swift
public var blend: Bool? -
Sets the minimum size (in px) of the rendered marker points, effective when the
pointcloudshows a million or more points.Declaration
Swift
public var sizeMin: Double? -
Sets the maximum size (in px) of the rendered marker points.
Effective when the
pointcloudshows only few points.Declaration
Swift
public var sizeMax: Double? -
Undocumented
See moreDeclaration
Swift
public struct Border : Encodable -
Undocumented
Declaration
Swift
public var border: Border? -
Creates
Markerobject with specified properties.Declaration
Parameters
colorSets the marker fill color.
opacitySets the marker opacity.
blendDetermines if colors are blended together for a translucency effect in case
opacityis specified as a value less then1.sizeMinSets the minimum size (in px) of the rendered marker points, effective when the
pointcloudshows a million or more points.sizeMaxSets the maximum size (in px) of the rendered marker points.
border
View on GitHub
Install in Dash
Marker Structure Reference