File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,18 @@ - (void)setEnabled:(bool)enabled
6363 m_pBlueSphereApi->SetEnabled (_enabled);
6464}
6565
66+ - (void )setAccuracyRingEnabled : (bool )accuracyRingEnabled
67+ {
68+ _accuracyRingEnabled = accuracyRingEnabled;
69+ m_pBlueSphereApi->SetAccuracyRingEnabled (_accuracyRingEnabled);
70+ }
71+
72+ -(void )setAccuracyInMeters : (float )accuracyInMeters
73+ {
74+ _accuracyInMeters = accuracyInMeters;
75+ m_pBlueSphereApi->SetCurrentLocationAccuracy (accuracyInMeters);
76+ }
77+
6678- (void )setCoordinate : (CLLocationCoordinate2D)coordinate
6779 heading : (CLLocationDirection) heading
6880{
Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ NS_ASSUME_NONNULL_BEGIN
2929// / The property that determines if the blue sphere should be displayed and assets loaded.
3030@property (nonatomic ) bool enabled;
3131
32+ // / The property that determines if the accracy ring should be displayed.
33+ @property (nonatomic ) bool accuracyRingEnabled;
34+
35+ // / The property that determines radius of accuracy ring in meters.
36+ @property (nonatomic ) float accuracyInMeters;
37+
3238/* !
3339 Place the blue sphere inside an indoor map on a specific floor.
3440 @param indoorMapId The ID of an indoor map the bue sphere should be inside. (See WRLDIndoorMap).
You can’t perform that action at this time.
0 commit comments