FMGLPolygon

概述

多边形标注类,可由SDK上层使用,创建多边形标注,通过FMGLMapView类的接口添加标注

函数

-polygonWithCoordinates:count:

创建多边形对象

PARAMETERS

参数 类型 说明
coords CLLocationCoordinate2D 坐标
count NSUInteger 坐标个数

RETURN VALUE

instancetype

-polygonWithCoordinates: count: interiorPolygons:

创建内部有多边形的多边形对象

PARAMETERS

参数 类型 说明
coords CLLocationCoordinate2D 坐标
count NSUInteger 坐标个数
interiorPolygons nullable NS_ARRAY_OF(FMGLPolygon *) 多边形数组

RETURN VALUE

instancetype

属性

interiorPolygons

含有的多边形数组(只读)

声明

@property (nonatomic, nullable, readonly) NS_ARRAY_OF(FMGLPolygon *) *interiorPolygons;

results matching ""

    No results matching ""