智能客服
你问我答,随时在线为你解决问题
HMS Core
Class Info |
|---|
@interface HOverlayView : NSObject 地图覆盖物视图的基类,提供了绘制覆盖物的接口,希望不要直接实例化,可以使用该类的子类HCircleView、HPolylineView、HPolygonView来实例化。 |
Qualifier and Type | Method Name and Description |
|---|---|
void | updateOverlayPoints:pointCount: 更新覆盖物的坐标点串。 |
Qualifier and Type | Property name and Description |
|---|---|
@property (nonatomic) BOOL | isClickable 可点击性,默认NO。 |
@property (nonatomic) BOOL | isVisible 可见性,默认YES。 |
@property (nonatomic, strong, readonly) id <HOverlay> | overlay 本view对应的数据类。 |
@property (nonatomic, assign) int | zIndex 覆盖物的显示顺序,决定了它与其它OverlayView的压盖关系,默认0。大值压盖小值,只有同displayLevel的OverlayView才会比较zIndex。 |
Method |
|---|
- (void)updateOverlayPoints:(CLLocationCoordinate2D *)points pointCount:(int)count 更新覆盖物的坐标点串。 |
Parameters
Name | Description |
|---|---|
points | 新的坐标点串数组(更新圆形覆盖物中心点时传入一个坐标点数据即可)。 |
count | 坐标点个数。 |
智能客服
你问我答,随时在线为你解决问题
合作咨询
我们的专家服务团队将竭诚为您提供专业的合作咨询服务
解决方案
精准高效的一站式服务支持,助力开发者商业成功