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 ifblend
is left onfalse
even 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
opacity
is specified as a value less then1
.Setting
blend
totrue
reduces 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
pointcloud
shows 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
pointcloud
shows 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
Marker
object with specified properties.Declaration
Parameters
color
Sets the marker fill color.
opacity
Sets the marker opacity.
blend
Determines if colors are blended together for a translucency effect in case
opacity
is specified as a value less then1
.sizeMin
Sets the minimum size (in px) of the rendered marker points, effective when the
pointcloud
shows a million or more points.sizeMax
Sets the maximum size (in px) of the rendered marker points.
border