OMCLocationGeoCircle Class Reference

Inherits from OMCLocationAddress : NSObject
Declared in OMCLocationGeoCircle.h

Overview

A geo circle, which consists of a geographical center point and a radius, is one of several ways to specify a place’s address. Geo circles are immutable.

  center

The circle’s center point.

@property (readonly, nullable) OMCLocationGeoPoint *center

Declared In

OMCLocationGeoCircle.h

  radius

The circle’s radius in meters.

@property (readonly, nullable) NSNumber *radius

Declared In

OMCLocationGeoCircle.h

+ circleWithLatitude:longitude:radius:

Constructs a new geo circle with the specified latitude, longitude, and radius (in meters).

+ (instancetype)circleWithLatitude:(NSNumber *)latitude longitude:(NSNumber *)longitude radius:(NSNumber *)radius

Parameters

latitude

The latitude of the circle’s center point.

longitude

The longitude of the circle’s center point.

radius

The circle’s radius in meters.

Declared In

OMCLocationGeoCircle.h

+ circleWithCenter:radius:

Constructs a new geo circle with the specified center point and radius (in meters).

+ (instancetype)circleWithCenter:(OMCLocationGeoPoint *)center radius:(NSNumber *)radius

Parameters

center

The circle’s center point.

radius

The circle’s radius in meters.

Declared In

OMCLocationGeoCircle.h