CMLabelStyle
public class CMLabelStyle : CMStyling
The style of Label.
Copyright © 2017 Nexusgeographics All rights reserved.
See also
CMStyling-
The enum Anchor.
See moreDeclaration
Swift
public enum Anchor : String -
Font Style
Declaration
Swift
public var font : CMFontStyle -
Moves the label from its original location. Default [
0px
,0px
]Example:
CMLabelStyle.offset = ["25px", "25px"]Declaration
Swift
public var offset : [String] -
Text of Label
Declaration
Swift
public var textSource: String -
Label text aling. String one of left, center, right. Default is center
Declaration
Swift
public var align: String? -
The anchor
Declaration
Swift
public var anchor : Anchor? -
The text wrap. Default is 15.
Declaration
Swift
public var textWrap: String? -
Specifies minimum distance between labels in the same repeat_group, measuring from the center of each label. Default is 256px.
Declaration
Swift
public var repeatDistance: String? -
Allows the grouping of different label types for purposes of fine-tuning label repetition.
Declaration
Swift
public var repeatGroup: String? -
The label priority of the feature.
Declaration
Swift
public var priority: NSNumber? -
The sprite to be used when drawing a feature
Declaration
Swift
public var sprite: String? -
Draws an outline around the feature.
Declaration
Swift
public var outline: String? -
Undocumented
Declaration
Swift
public class CMLabelStyle : CMStyling -
Undocumented
Declaration
Swift
public class CMLabelStyle : CMStyling -
Undocumented
Declaration
Swift
public class CMLabelStyle : CMStyling
CMLabelStyle Class Reference