高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Properties | List of all members
MAPinAnnotationView Class Reference

`#include <MAPinAnnotationView.h>`

Inheritance diagram for MAPinAnnotationView:

## Properties
MAPinAnnotationColor | pinColor
BOOL | animatesDrop
Properties inherited from MAAnnotationView
NSString * | reuseIdentifier
NSInteger | zIndex
id< MAAnnotation > | annotation
UIImage * | image
UIImageView * | imageView
MACustomCalloutView * | customCalloutView
CGPoint | centerOffset
CGPoint | calloutOffset
BOOL | enabled
BOOL | highlighted
BOOL | selected
BOOL | canShowCallout
UIView * | leftCalloutAccessoryView
UIView * | rightCalloutAccessoryView
BOOL | draggable
MAAnnotationViewDragState | dragState
BOOL | canAdjustPositon
BOOL | isOpenCollisionDetection

## Additional Inherited Members
Instance Methods inherited from MAAnnotationView
(void) | - setSelected:animated:
| 设置是否处于选中状态, 外部如果要选中请使用mapView的selectAnnotation方法 Set whether it is in the selected state, if you want to select it externally, use the selectAnnotation method of mapView
(id) | - initWithAnnotation:reuseIdentifier:
| 初始化并返回一个annotation view Initialize and return an annotation view
(void) | - prepareForReuse
| 当从reuse队列里取出时被调用, 子类重新必须调用super Called when taken out of the reuse queue, the subclass must call super
(void) | - setDragState:animated:
| 设置view的拖动状态 set the drag state of the view

## Detailed Description

提供类似大头针效果的annotation view Annotation view providing a pin-like effect

## Property Documentation

## ◆ animatesDrop

- (BOOL) animatesDrop
| read write nonatomic assign

添加到地图时是否使用下落动画效果 Whether to use a drop animation effect when adding to the map

## ◆ pinColor

- (MAPinAnnotationColor) pinColor
| read write nonatomic assign

大头针的颜色 The color of the pin

The documentation for this class was generated from the following file:

- MAPinAnnotationView.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。