iOS高德地图SDK(2D)
v5.6.0
|
提供类似大头针效果的annotation view More...
#import <MAPinAnnotationView.h>
Properties | |
MAPinAnnotationColor | pinColor |
大头针的颜色,有MAPinAnnotationColorRed, MAPinAnnotationColorGreen, MAPinAnnotationColorPurple三种 More... | |
BOOL | animatesDrop |
动画效果 More... | |
![]() | |
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 | |
![]() | |
(id) | - initWithAnnotation:reuseIdentifier: |
初始化并返回一个annotation view More... | |
(void) | - prepareForReuse |
当从reuse队列里取出时被调用 More... | |
(void) | - setSelected:animated: |
设置是否处于选中状态, 外部如果要选中请使用mapView的selectAnnotation方法 More... | |
(void) | - setDragState:animated: |
当前view的拖动状态 More... | |
提供类似大头针效果的annotation view
|
readwritenonatomicassign |
动画效果
|
readwritenonatomicassign |
大头针的颜色,有MAPinAnnotationColorRed, MAPinAnnotationColorGreen, MAPinAnnotationColorPurple三种