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

该类用于确定覆盖在地图上的图片,及其覆盖区域, 通常MAGroundOverlay是MAGroundOverlayRenderer的model More...

#import <MAGroundOverlay.h>

Inheritance diagram for MAGroundOverlay:
MAShape

Class Methods

(instancetype) + groundOverlayWithBounds:icon:
 根据bounds值和icon生成GroundOverlay More...
 
(instancetype) + groundOverlayWithCoordinate:zoomLevel:icon:
 根据coordinate,icon,zoomLevel生成GroundOverlay More...
 

Properties

UIImage * icon
 绘制在地图上的覆盖图片 More...
 
CGFloat zoomLevel
 覆盖图片在地图尺寸等同于其像素的zoom值 More...
 
MACoordinateBounds bounds
 图片在地图中的覆盖范围 More...
 
- Properties inherited from MAShape
NSString * title
 标题 More...
 
NSString * subtitle
 副标题 More...
 

Detailed Description

该类用于确定覆盖在地图上的图片,及其覆盖区域, 通常MAGroundOverlay是MAGroundOverlayRenderer的model

Method Documentation

◆ groundOverlayWithBounds:icon:()

+ (instancetype) groundOverlayWithBounds: (MACoordinateBounds bounds
icon: (UIImage *)  icon 

根据bounds值和icon生成GroundOverlay

Parameters
bounds图片的在地图的覆盖范围
icon覆盖图片
Returns
以bounds和icon 新生成GroundOverlay

◆ groundOverlayWithCoordinate:zoomLevel:icon:()

+ (instancetype) groundOverlayWithCoordinate: (CLLocationCoordinate2D)  coordinate
zoomLevel: (CGFloat)  zoomLevel
icon: (UIImage *)  icon 

根据coordinate,icon,zoomLevel生成GroundOverlay

Parameters
coordinate图片的在地图上的中心点
zoomLevel图片在地图尺寸等同于像素的zoom值
icon覆盖图片
Returns
以coordinate,icon,zoomLevel 新生成GroundOverlay

Property Documentation

◆ bounds

- (MACoordinateBounds) bounds
readnonatomicassign

图片在地图中的覆盖范围

◆ icon

- (UIImage*) icon
readnonatomicassign

绘制在地图上的覆盖图片

◆ zoomLevel

- (CGFloat) zoomLevel
readnonatomicassign

覆盖图片在地图尺寸等同于其像素的zoom值


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