iOS高德地图SDK(2D)  v5.6.0
MAPinAnnotationView Class Reference

提供类似大头针效果的annotation view More...

#import <MAPinAnnotationView.h>

Inheritance diagram for MAPinAnnotationView:
MAAnnotationView

Properties

MAPinAnnotationColor pinColor
 大头针的颜色,有MAPinAnnotationColorRed, MAPinAnnotationColorGreen, MAPinAnnotationColorPurple三种 More...
 
BOOL animatesDrop
 动画效果 More...
 
- Properties inherited from MAAnnotationView
NSString * reuseIdentifier
 复用标识 More...
 
NSInteger zIndex
 z值,大值在上,默认为0 More...
 
id< MAAnnotation > annotation
 关联的annotation More...
 
UIImage * image
 显示的image More...
 
CGPoint centerOffset
 默认情况下,annotation view的中心位于annotation的坐标位置,可以设置centerOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素 More...
 
CGPoint calloutOffset
 默认情况下,弹出的气泡位于view正中上方,可以设置calloutOffset改变view的位置,正的偏移使view朝右下方移动,负的朝左上方,单位是像素 More...
 
BOOL enabled
 默认为YES,当为NO时view忽略触摸事件 More...
 
BOOL highlighted
 annotationView是否突出显示(一般不需要手动设置) More...
 
BOOL selected
 设置是否处于选中状态, 外部如果要选中请使用mapView的selectAnnotation方法 More...
 
BOOL canShowCallout
 设置是否可以显示callout,默认为NO More...
 
UIView * leftCalloutAccessoryView
 显示在气泡左侧的view More...
 
UIView * rightCalloutAccessoryView
 显示在气泡右侧的view More...
 
BOOL draggable
 是否支持拖动,默认为NO More...
 
MAAnnotationViewDragState dragState
 当前view的拖动状态 More...
 

Additional Inherited Members

- Instance Methods inherited from MAAnnotationView
(id) - initWithAnnotation:reuseIdentifier:
 初始化并返回一个annotation view More...
 
(void) - prepareForReuse
 当从reuse队列里取出时被调用 More...
 
(void) - setSelected:animated:
 设置是否处于选中状态, 外部如果要选中请使用mapView的selectAnnotation方法 More...
 
(void) - setDragState:animated:
 当前view的拖动状态 More...
 

Detailed Description

提供类似大头针效果的annotation view

Property Documentation

◆ animatesDrop

- (BOOL) animatesDrop
readwritenonatomicassign

动画效果

◆ pinColor

- (MAPinAnnotationColor) pinColor
readwritenonatomicassign

大头针的颜色,有MAPinAnnotationColorRed, MAPinAnnotationColorGreen, MAPinAnnotationColorPurple三种


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。