Responsible for managing the compass view's direction.
More...
Inherits NSObject.
Responsible for managing the compass view's direction.
Observes:
- VgMyCompassDataNotification : Updates the compass view to correspond with the compasses heading.
- VgMyCompassNotification : The current state of the compass provider
- VgMyMapInteractionNotification : Updates the compass view to correspond with the map's heading. When the user interacts with the map, the compass data source is disabled.
- VgMyDatasetSelectedNotification : Update the compass view at startup so that it corresponds with the maps current heading.
Sends:
- VgMyCompassRequestNotification : Request that the compass state changes.
- Examples:
- /Users/hbriceno/src/visioglobe/mobile/Projects/SDK/VisioDevKit/samples/navigationModule/Inc/Apple/VgMyViewController.h.
- (instancetype) initWithButtonView: |
|
(UIButton *) |
pCompassButton |
|
Constructor for the compass view.
- Note
- A transform animation will be applied to this button. If the button uses NSLayoutContraints, then it will need to reside within a parent container that has a fixed width/height. Also, the center of the button, should be set to the center of the container. If this is not done, then the combination of transform and NSLayoutContraints will deform the button
- Parameters
-
pCompassButton | A selector will be added to the button that enables/disables the compass mode. |
The documentation for this class was generated from the following file: