EILPositionView Class Reference

Inherits from UIImageView
Declared in EILPositionView.h
EILPositionView.m

Overview

View representing current position indicator with accuracy circle. It adjusts itself to always show correctly accuracy in scale.

– initWithImage:location:showAccuracyCircle:forViewWithBounds:

Returns an initialized EILPositionView object for given location and size of superview.

- (instancetype)initWithImage:(UIImage *)image location:(EILLocation *)location showAccuracyCircle:(BOOL)showAccuracyCircle forViewWithBounds:(CGRect)bounds

Parameters

location

The location for which the position is visualized.

showAccuracyCircle

If YES then in addition to avatar, accuracy circle will be displayed.

bounds

Bounds of Indoor LocationView, used to calculate scale for drawing avatar.

Return Value

An initialized EILPositionView object.

Declared In

EILPositionView.h

– initWithImage:location:showAccuracyCircle:regionOfInterest:forViewWithBounds:

Returns an initialized EILPositionView object for given location and size of superview.

- (instancetype)initWithImage:(UIImage *)image location:(EILLocation *)location showAccuracyCircle:(BOOL)showAccuracyCircle regionOfInterest:(CGRect)regionOfInterest forViewWithBounds:(CGRect)bounds

Parameters

location

The location for which the position is visualized.

showAccuracyCircle

If YES then in addition to avatar, accuracy circle will be displayed.

regionOfInterest

Region of interest to be drawn for the location.

bounds

Bounds of Indoor LocationView, used to calculate scale for drawing avatar.

Return Value

An initialized EILPositionView object.

Declared In

EILPositionView.h

– updateAccuracy:

Updates accuracy value.

- (void)updateAccuracy:(EILPositionAccuracy)accuracy

Declared In

EILPositionView.h