FMKLocationMarker Class Reference

Inherits from FMKNode : NSObject
Declared in FMKLocationMarker.h

Overview

定位标注,可移动图片点 功能单一,非移动图片标注

– initWithPointerImageName:DomeImageName:

定位点资源图片需要放在FMBundle里 也可以替换掉上述的两个图片文件

- (instancetype)initWithPointerImageName:(NSString *)pName DomeImageName:(NSString *)dName

Parameters

pName

“pointer.png”

dName

“dome.png”

Return Value

定位功能标注

Declared In

FMKLocationMarker.h

  currentCoord

当前定位点位置

@property (nonatomic, readonly) FMKGeoCoord currentCoord

Declared In

FMKLocationMarker.h

  angle

旋转角度改变量

@property (nonatomic, readonly) float angle

Declared In

FMKLocationMarker.h

  size

定位标注物的大小

@property (nonatomic, assign) CGSize size

Declared In

FMKLocationMarker.h

– locateWithGeoCoord:

定位标注物位置更新

- (void)locateWithGeoCoord:(FMKGeoCoord)geoCoord

Parameters

geoCoord

fengmap地图坐标

Declared In

FMKLocationMarker.h

– updateRotate:

定位标注物旋转角度更新

- (void)updateRotate:(CGFloat)rotate

Parameters

rotate

旋转角度

Declared In

FMKLocationMarker.h