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