ISLocationRenderer Class Reference

Inherits from NSObject
Conforms to ISRenderer
Declared in ISLocationRenderer.h

Overview

Class used to render locations on the map.

  locationLostColor

Location lost render color. (default: ccc3(255.0, 150.0, 0.0), none: ccc3(255.0, 255.0, 255.0)).

@property (nonatomic, readwrite) ccColor3B locationLostColor

Declared In

ISLocationRenderer.h

  locationColor

Location render color. (default: ccc3(0, 162.0, 255.0), none: ccc3(255.0, 255.0, 255.0)).

@property (nonatomic, readwrite) ccColor3B locationColor

Declared In

ISLocationRenderer.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, readwrite) ccColor4F accuracyColor

Declared In

ISLocationRenderer.h

  layer

Map view layer.

@property (weak) CCLayer *layer

Declared In

ISLocationRenderer.h

– updateLocation:

Method called to update existing location.

- (void)updateLocation:(ISLocation *)location

Parameters

location

ISLocation to update.

Declared In

ISLocationRenderer.h

– updateAzimuth:

Method called to update the current azimuth.

- (void)updateAzimuth:(float)azimuth

Parameters

azimuth

New azimuth to consider.

Declared In

ISLocationRenderer.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

ISLocationRenderer.h