Inherits from NSObject
Declared in NetmeraGeoLocation.h
NetmeraGeoLocation.m

Overview

NetmeraGeoLocation is used to create location with the given latitude and longitude values. It is used to set location into the content and then use it on the search queries.

Tasks

Instance Methods

initWithLatitude:andLongitude:

Creates location with the given latitude and longitude.

- (id)initWithLatitude:(double)latitude andLongitude:(double)longitude

Parameters

latitude

must be between the range of (-90,90)

longitude

must be between the range of (-180,180)

Discussion

Creates location with the given latitude and longitude.

Declared In

NetmeraGeoLocation.h

setLatitude:

Set latitude into the location. Latitude must be between the range of (-90.0, 90.0).

- (void)setLatitude:(double)latitude

Parameters

latitude

Location’s latitude

Discussion

Set latitude into the location. Latitude must be between the range of (-90.0, 90.0).

Declared In

NetmeraGeoLocation.h

setLongitude:

Set longitude into the location. Longitude must be between the range of (-180.0, 180.0).

- (void)setLongitude:(double)longitude

Parameters

longitude

Location’s longitude

Discussion

Set longitude into the location. Longitude must be between the range of (-180.0, 180.0).

Declared In

NetmeraGeoLocation.h