ISGfxLocation Class Reference

Inherits from CCNode
Conforms to ISRTO
Declared in ISGfxLocation.h

Overview

Class used to represent a location result.

  location

Related location.

@property (nonatomic, readonly) ISLocation *location

Declared In

ISGfxLocation.h

  currentMapId

Current displayed map identifier.

@property (nonatomic, readonly) int currentMapId

Declared In

ISGfxLocation.h

  azimuth

Location current azimuth.

@property (nonatomic, readonly) float azimuth

Declared In

ISGfxLocation.h

  accuracyColor

Accuracy rendering color (default: ccc4f(0.0, 0.0, 255.0, 255.0/6.0), none: ccc4f(255.0, 255.0, 255.0, 0.0)).

@property (nonatomic, readonly) ccColor4F accuracyColor

Declared In

ISGfxLocation.h

– initWithLocation:

Main constructor.

- (instancetype)initWithLocation:(ISLocation *)location

Parameters

location

ISLocation to use.

Declared In

ISGfxLocation.h

– updateWithLocation:

Method called to update the current location.

- (void)updateWithLocation:(ISLocation *)location

Parameters

location

ISLocation to use for update.

Declared In

ISGfxLocation.h

– setCompassDisplayEnabled:

Method called to set compass visible or not.

- (void)setCompassDisplayEnabled:(Boolean)displayEnabled

Parameters

displayEnabled

YES if the compass is visible, otherwise NO.

Declared In

ISGfxLocation.h