高德地图SDK(导航) V11.2.0501
Loading...
Searching...
No Matches
MAMapView(Buildings) Category Reference

#include <MAMapView.h>

Instance Methods

(NSInteger) - hideBuildingsWithPolygon:polygonSize:
 隐藏建筑物 Hide buildings
 
(void) - showHiddenBuildingsWithOperationId:
 显示建筑物 Display buildings
 

Detailed Description

建筑物操作

Since
9.6.0 Building operations since 9.6.0

Method Documentation

◆ hideBuildingsWithPolygon:polygonSize:

- (NSInteger) hideBuildingsWithPolygon: (CLLocationCoordinate2D *)  polygon
polygonSize: (NSUInteger)  polygonSize 

隐藏建筑物 Hide buildings

Parameters
polygon围栏的经纬度信息 Fence's latitude and longitude information
polygonSize围栏的size(需 >= 3 否则无法构成围栏) Fence size (must be >=3 otherwise cannot form a fence)
Returns
隐藏成功返回当前的operationId(>= 0) 失败返回-1 Returns current operationId (>=0) if successful, -1 if failed

◆ showHiddenBuildingsWithOperationId:

- (void) showHiddenBuildingsWithOperationId: (NSInteger)  operationId

显示建筑物 Display buildings

Parameters
operationId操作Id(隐藏建筑物接口的返回值) Operation ID (return value of the hide buildings interface)

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