iOS高德地图SDK(3D) V11.2.0001

Instance Methods | List of all members
MAMapView(Buildings) Category Reference

`#import <MAMapView.h>`

## Instance Methods
(NSInteger) | - hideBuildingsWithPolygon:polygonSize:
| 隐藏建筑物 Hide buildings More...
(void) | - showHiddenBuildingsWithOperationId:
| 显示建筑物 Display buildings More...

## 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

Extends class MAMapView.

## ◆ showHiddenBuildingsWithOperationId:

- (void) showHiddenBuildingsWithOperationId: |  | (NSInteger) | operationId |

显示建筑物 Display buildings

Parameters

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

Extends class MAMapView.

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

- MAMapView.h

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