CMStyling
public class CMStyling : JSONable
The basic style.
Copyright © 2017 Nexusgeographics All rights reserved.
See also
-
The enum Style.
See moreDeclaration
Swift
public enum Style : String
-
The Type of Style
Declaration
Swift
public var style : Style
-
A point or text draw group marked with
collide: false
will not be checked for any collisionsDeclaration
Swift
public var collide: Bool
-
Optional boolean. Default is true. If false, features will not be drawn.
Declaration
Swift
public var visible: Bool
-
Specifies the vertex color of the feature. This color will be passed to any active shaders and used in any light calculations as “color”.
## Example: ##
Styling.setColor("#ff0000")
## Color format: ##
Named colors: red, blue, salmon, rebeccapurple Hex colors: "#fff", "#000", "#9CE6E5" RGB colors: "rgb(255, 190, 0)" RGBA colors**: "rgb(255, 190, 0, .5)" HSL colors: "hsl(180, 100%, 100%)" HSL colors**: "hsla(180, 100%, 100%, 50%)"
**Currently, alpha values are ignored in the add and multiply blend modes, and respected in the inlay and overlay modes. For more on this, see the blend entry.
Declaration
Swift
public var color: String
-
Undocumented
Declaration
Swift
public class CMStyling : JSONable
-
Undocumented
Declaration
Swift
public class CMStyling : JSONable
-
Undocumented
Declaration
Swift
public class CMStyling : JSONable