GMTCMarkerStyleOptions
@interface GMTCMarkerStyleOptions
: GMTCImmutableData <NSCopying, NSMutableCopying>Data object that holds custom marker properties from the client application.
-
The ground anchor for the marker. Defaults to {0.5f, 0.5f}
Declaration
Swift
var groundAnchor: CGPoint { get }Objective-C
@property (nonatomic, readonly) CGPoint groundAnchor; -
Boolean that determines the visibility of the marker. Defaults to YES.
Declaration
Swift
var isVisible: Bool { get }Objective-C
@property (nonatomic, readonly) BOOL isVisible; -
Marker view to render. If left nil, falls back to the icon property instead.
Declaration
Swift
var iconView: UIView? { get }Objective-C
@property (nonatomic, readonly, nullable) UIView *iconView; -
The icon to display for the marker.
Declaration
Swift
var icon: UIImage? { get }Objective-C
@property (nonatomic, readonly, nullable) UIImage *icon; -
The z-index specifies the stack order of this marker. Defaults to 0.
Declaration
Swift
var zIndex: Int32 { get }Objective-C
@property (nonatomic, readonly) int32_t zIndex; -
Whether the marker is flat against the map or a billboard facing the camera. Defaults to NO.
Declaration
Swift
var isFlat: Bool { get }Objective-C
@property (nonatomic, readonly) BOOL isFlat; -
Initializes the object with default values:
groundAnchor:{0.5f, 0.5f},isVisible:YES,iconView:nil,icon:nil,zIndex:0,isFlat:NO.Declaration
Swift
init()Objective-C
- (nonnull instancetype)init;