#import <BaiduPanoramaView.h>
|
id< BaiduPanoramaViewDelegate > | delegate |
|
Definition at line 83 of file BaiduPanoramaView.h.
§ addImageOverlayById:coordinate:height:image:()
- (void) addImageOverlayById: |
|
(NSString *) |
overlayId |
coordinate: |
|
(CLLocationCoordinate2D) |
coor |
height: |
|
(double) |
height |
image: |
|
(UIImage *) |
image |
|
|
| |
添加图片覆盖物
- Parameters
-
overlayid | 覆盖物id |
coordinate | 经纬度坐标 |
height | 覆盖物高度 |
image | 覆盖物image |
§ addImageOverlayById:X:Y:Z:image:()
- (void) addImageOverlayById: |
|
(NSString *) |
overlayId |
X: |
|
(NSInteger) |
x |
Y: |
|
(NSInteger) |
y |
Z: |
|
(NSInteger) |
z |
image: |
|
(UIImage *) |
image |
|
|
| |
添加图片覆盖物
- Parameters
-
overlayid | 覆盖物id |
x | 墨卡托坐标x |
y | 墨卡托坐标y |
z | 覆盖物高度z |
image | 显示的图片 |
§ addLabelOverlayById:coordinate:height:text:()
- (void) addLabelOverlayById: |
|
(NSString *) |
overlayId |
coordinate: |
|
(CLLocationCoordinate2D) |
coor |
height: |
|
(double) |
height |
text: |
|
(NSString *) |
text |
|
|
| |
添加文字覆盖物
- Parameters
-
overlayid | 覆盖物id |
coordinate | 经纬度坐标 |
height | 覆盖物高度 |
text | 显示的文字 |
§ addLabelOverlayById:X:Y:Z:text:()
- (void) addLabelOverlayById: |
|
(NSString *) |
overlayId |
X: |
|
(NSInteger) |
x |
Y: |
|
(NSInteger) |
y |
Z: |
|
(NSInteger) |
z |
text: |
|
(NSString *) |
text |
|
|
| |
添加文字覆盖物
- Parameters
-
overlayid | 覆盖物id |
x | 墨卡托坐标x |
y | 墨卡托坐标y |
z | 覆盖物高度z |
text | 显示的文字 |
§ addOverlay:()
§ convertCoorFromScreenX:Y:toMercatorX:Y:Z:()
- (void) convertCoorFromScreenX: |
|
(float) |
sX |
Y: |
|
(float) |
sY |
toMercatorX: |
|
(double *) |
mX |
Y: |
|
(double *) |
mY |
Z: |
|
(double *) |
mZ |
|
|
| |
§ enableFastMoving:()
- (void) enableFastMoving: |
|
(BOOL) |
isOpen |
|
§ getPanoramaFOV()
§ getPanoramaHeading()
- (float) getPanoramaHeading |
|
|
|
§ getPanoramaPitch()
- (float) getPanoramaPitch |
|
|
|
§ getPanoramaZoomLevel()
- (float) getPanoramaZoomLevel |
|
|
|
§ initWithFrame:()
- (id) initWithFrame: |
|
(CGRect) |
frame |
|
§ initWithFrame:key:()
全景视图初始化
- Parameters
-
frame | 视图的frame |
key | 百度LBS开放平台接入密钥 |
§ initWithFrame:mcX:mcY:()
- (id) initWithFrame: |
|
(CGRect) |
frame |
mcX: |
|
(NSInteger) |
x |
mcY: |
|
(NSInteger) |
y |
|
|
| |
全景视图初始化
- Parameters
-
frame | 视图的frame |
mcX | 百度墨卡托坐标x |
mcY | 百度墨卡托坐标y |
§ isEnableFastMoving()
- (BOOL) isEnableFastMoving |
|
|
|
§ removeAllOverlay()
- (void) removeAllOverlay |
|
|
|
§ removeOverlay:()
- (void) removeOverlay: |
|
(NSString *) |
overlayId |
|
§ setAllCustomOverlaysHidden:()
- (void) setAllCustomOverlaysHidden: |
|
(BOOL) |
hidden |
|
§ setCustomOverlayAnchor:x:y:()
- (void) setCustomOverlayAnchor: |
|
(NSString *) |
key |
x: |
|
(float) |
x |
y: |
|
(float) |
y |
|
|
| |
§ setDirectionArrowByUrl:()
- (void) setDirectionArrowByUrl: |
|
(NSString *) |
url |
|
设置道路箭头指引,通过image的url
- Parameters
-
§ setDirectionArrowImage:()
- (void) setDirectionArrowImage: |
|
(UIImage *) |
image |
|
§ setPanoramaAccessKey:()
- (void) setPanoramaAccessKey: |
|
(NSString *) |
key |
|
§ setPanoramaHeading:()
- (void) setPanoramaHeading: |
|
(float) |
heading |
|
设置全景图偏航角
- Parameters
-
heading | 偏航角: 0~360 度 默认值: 0 度 |
§ setPanoramaImageLevel:()
设置全景场景使用图片级别
- Parameters
-
level | 图片级别 清晰度:ImageDefinition,默认值:middle |
§ setPanoramaPitch:()
- (void) setPanoramaPitch: |
|
(float) |
pitch |
|
设置全景图的俯仰角
- Parameters
-
pitch | 俯仰角:-90~90 度 默认值: 0 度 |
§ setPanoramaWithLon:lat:()
- (void) setPanoramaWithLon: |
|
(double) |
lon |
lat: |
|
(double) |
lat |
|
|
| |
切换全景场景至指定的地理坐标
- Parameters
-
§ setPanoramaWithPid:()
- (void) setPanoramaWithPid: |
|
(NSString *) |
pid |
|
切换全景场景至指定全景pid
- Parameters
-
§ setPanoramaWithUid:()
- (void) setPanoramaWithUid: |
|
(NSString *) |
uid |
|
切换全景场景至指定的UID下,UID为百度地图中POI唯一ID
- Parameters
-
§ setPanoramaWithUid:type:()
根据POI指定UID显示全景,设置对应的街景,内景属性,因为有些POI下既有圈景又有内景
- Parameters
-
uid | POI唯一ID |
type | 全景类型 室内 街景 |
§ setPanoramaWithX:Y:()
- (void) setPanoramaWithX: |
|
(NSInteger) |
x |
Y: |
|
(NSInteger) |
y |
|
|
| |
切换全景场景至指定的百度墨卡托坐标
- Parameters
-
§ setPanoramaZoomLevel:()
- (void) setPanoramaZoomLevel: |
|
(int) |
level |
|
设置全景场景缩放级别
- Parameters
-
level | 级别:1~5 缩放级别依次变大 默认值: 2 |
§ setPoiOverlayHidden:()
- (void) setPoiOverlayHidden: |
|
(BOOL) |
hidden |
|
§ showDirectionArrow:()
- (void) showDirectionArrow: |
|
(BOOL) |
isShow |
|
§ delegate
- (id<BaiduPanoramaViewDelegate>) delegate |
|
readwritenonatomicweak |
The documentation for this class was generated from the following file:
- /Users/baidu/Documents/iOSPanoramaSDK_v2.5.0/BaiduMap_iOSPanoramaSDK_v2.5.0_header/include/BaiduPanoramaView.h