W3wPosition Class Reference

Inherits from NSObject
Declared in W3wPosition.h

Overview

W3wPosition is used as a return type for forward and reverse geocoding

  threeWordAddr

Three word address. ex: table.lamp.chair

@property (nonatomic, readonly) NSString *threeWordAddr

Discussion

Three word address. ex: table.lamp.chair

Declared In

W3wPosition.h

  words

Array of words. ex: [@“table”, @“lamp”, @“chair”]

@property (nonatomic, strong) NSArray *words

Discussion

Array of words. ex: [@“table”, @“lamp”, @“chair”]

Declared In

W3wPosition.h

  centreLatLng

Location of the current position

@property (nonatomic, strong) W3wLatLng *centreLatLng

Discussion

Location of the current position

Declared In

W3wPosition.h

  language

Words language

@property (nonatomic, strong) NSString *language

Discussion

Words language

Declared In

W3wPosition.h

  swLat

SW lat

@property (nonatomic, assign) double swLat

Discussion

SW lat

Declared In

W3wPosition.h

  swLng

SW lng

@property (nonatomic, assign) double swLng

Discussion

SW lng

Declared In

W3wPosition.h

  neLat

NE lat

@property (nonatomic, assign) double neLat

Discussion

NE lat

Declared In

W3wPosition.h

  neLng

NE lng

@property (nonatomic, assign) double neLng

Discussion

NE lng

Declared In

W3wPosition.h

– initWithWords:latLng:language:swLat:swLng:neLat:neLng:

Init position

- (instancetype)initWithWords:(NSArray *)words latLng:(W3wLatLng *)centreLatLng language:(NSString *)language swLat:(double)swLat swLng:(double)swLng neLat:(double)neLat neLng:(double)neLng

Parameters

words

Array of words. ex: [@“table”, @“lamp”, @“chair”]

centreLatLng

W3wLatLng location

language

Words language

swLat

SW lat

swLng

SW lng

neLat

NE lat

neLng

NE lng

Return Value

W3wVersionNumber object

Discussion

Init position

Declared In

W3wPosition.h

– getW3w

W3W address

- (NSString *)getW3w

Return Value

ex: table.lamp.chair

Discussion

W3W address

Declared In

W3wPosition.h