VisioMove-Sample  2.1.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMyCompassView Class Reference

Responsible for managing the compass view's direction. More...

Inherits NSObject.

Instance Methods

(instancetype) - initWithButtonView:
 Constructor for the compass view. More...
 

Detailed Description

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.

Method Documentation

- (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
pCompassButtonA selector will be added to the button that enables/disables the compass mode.

The documentation for this class was generated from the following file:
VisioMove 2.1.5, Visioglobe® 2015