OYMLatLng Class Reference

Inherits from NSObject
Declared in OYMGeometry.h
OYMGeometry.m

Overview

This class encapsulates a WGS84 Latitude and Longitude in one object.

  longitude

WGS84 Longitude

@property (nonatomic) double longitude

Declared In

OYMGeometry.h

  latitude

WGS84 Latitude

@property (nonatomic) double latitude

Declared In

OYMGeometry.h

– initWithLatitude:andLongitude:

Default constructor.

- (instancetype)initWithLatitude:(double)lat andLongitude:(double)lon

Parameters

lat

WGS84 Latitude

lon

WGS84 Longitude

Declared In

OYMGeometry.h

– getCLLocationCoordinate2D

Getter for the CLLocationCoordinate2D object.

- (CLLocationCoordinate2D)getCLLocationCoordinate2D

Return Value

The corresponding CLLocationCoordinate2D object

Declared In

OYMGeometry.h