FMKTextMarker Class Reference

Inherits from FMKNode : NSObject
Declared in FMKTextMarker.h

Overview

自定义文本标注物

– initWithTextContent:coord:

初始化文本标注物

- (instancetype)initWithTextContent:(NSString *)content coord:(FMKMapPoint)coord

Parameters

content

文本内容

coord

文本所在地图位置

Return Value

文本标注物对象

Discussion

初始化文本标注物

Declared In

FMKTextMarker.h

  mapPoint

文本标注物地图位置

@property (nonatomic, assign) FMKMapPoint mapPoint

Discussion

文本标注物地图位置

Declared In

FMKTextMarker.h

  fontSize

文字大小

@property (nonatomic, assign) CGFloat fontSize

Discussion

文字大小

Declared In

FMKTextMarker.h

  content

文本内容

@property (nonatomic, copy) NSString *content

Discussion

文本内容

Declared In

FMKTextMarker.h

  offsetMode

文本标注物的偏移模式

@property (nonatomic, assign) FMKTextOffsetMode offsetMode

Discussion

文本标注物的偏移模式

Declared In

FMKTextMarker.h

  offset

设置文本的偏移量(只在偏移模式为用户自定义时有效)

@property (nonatomic, assign) CGFloat offset

Discussion

设置文本的偏移量(只在偏移模式为用户自定义时有效)

Declared In

FMKTextMarker.h

  selected

选中属性

@property (nonatomic, assign) BOOL selected

Discussion

选中属性

Declared In

FMKTextMarker.h

  textColor

文本标注物的颜色

@property (nonatomic, strong) UIColor *textColor

Discussion

文本标注物的颜色

Declared In

FMKTextMarker.h