OMCLocationGeoPolygon Class Reference

Inherits from OMCLocationAddress : NSObject
Declared in OMCLocationGeoPolygon.h

Overview

A geo polygon, which consists of a list of geographical vertices, is one of several ways to specify a place’s address. Geo polygons are immutable.

  vertices

The polygon’s list of vertices.

@property (readonly) NSArray<OMCLocationGeoPoint*> *vertices

Declared In

OMCLocationGeoPolygon.h

+ polygonWithVertices:

Constructs a geo polygon with the specified list of vertices.

+ (instancetype)polygonWithVertices:(NSArray<OMCLocationGeoPoint*> *)vertices

Parameters

vertices

The polygon’s vertices.

Declared In

OMCLocationGeoPolygon.h