VisioMove-Sample  2.1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMyViewController Class Reference
Inheritance diagram for VgMyViewController:
Inheritance graph

Instance Methods

(IBAction) - clearRoute:
 
(IBAction) - simulatePosition:
 
(IBAction) - toggleAvoidStairsRouting:
 
(IBAction) - loadFromNetwork:
 Configure the remote map properties and start the download process. More...
 
(IBAction) - resetConfigPreferences:
 
(IBAction) - togglePOIs:
 
(IBAction) - switchViews:
 
(BOOL) - verifyMap:withOutputErrorStr:
 
(BOOL) - loadMap:
 
(void) - unloadMap
 
(void) - updateMapViewParameters
 This needs to be called when ever the mMapView changes size to update the stackview parameters. More...
 
(void) - startProgress
 
(void) - progress:outOf:
 
(void) - doneProgress
 
(void) - automaticTest
 

Class Methods

(Boolean) + isVersion:olderThan:
 Compares two map bundle versions and determines whether the first version is older then the second version. More...
 

Protected Attributes

VgMyViewControllerImpl * mVgMyViewControllerImpl
 
VgEAGLView * mMapView
 
UISwitch * mSimulatePositionSwitch
 
UISwitch * mAvoidStairsRoutingSwitch
 
UIButton * mSwitchViewsButton
 
UILabel * mSimulatePositionLabel
 
UILabel * mAvoidStairsRoutingLabel
 
UIButton * mTogglePoisButton
 
UIButton * mResetPreferencsButton
 
UIButton * mClearRouteButton
 
VgMyRemoteMapManagermVgMyRemoteMapManager
 
bool mTogglePointsVisible
 

Properties

IBOutlet VgEAGLView * mMapView
 
IBOutlet UISwitch * mSimulatePositionSwitch
 
IBOutlet UISwitch * mAvoidStairsRoutingSwitch
 
UIProgressView * mProgressView
 
IBOutlet UIButton * mSwitchViewsButton
 
IBOutlet UILabel * mSimulatePositionLabel
 
IBOutlet UILabel * mAvoidStairsRoutingLabel
 
IBOutlet UIButton * mTogglePoisButton
 
IBOutlet UIButton * mResetPreferencsButton
 
IBOutlet UIButton * mClearRouteButton
 
VgMyConfigPreferences * mConfigPreferences
 

Method Documentation

- (void) automaticTest
- (IBAction) clearRoute: (id)  sender
- (void) doneProgress
+ (Boolean) isVersion: (NSString *)  pVersion1
olderThan: (NSString *)  pVersion2 

Compares two map bundle versions and determines whether the first version is older then the second version.

Returns
Returns YES, if pVersion1 is older than pVersion2, otherwise NO.
- (IBAction) loadFromNetwork: (id)  sender

Configure the remote map properties and start the download process.

See Also
For more information, see the following blog which explains how your app can download automatically your map: https://developer.visioglobe.com/blog/2013/08/29/integrating-your-map-bundle/
- (BOOL) loadMap: (VgMyConfigPreferences *)  pConfig
- (void) progress: (int)  pReceived
outOf: (int)  pTotal 
- (IBAction) resetConfigPreferences: (id)  sender
- (IBAction) simulatePosition: (id)  sender
- (void) startProgress
- (IBAction) switchViews: (id)  sender
- (IBAction) toggleAvoidStairsRouting: (UISwitch *)  sender
- (IBAction) togglePOIs: (id)  sender
- (void) unloadMap
- (void) updateMapViewParameters

This needs to be called when ever the mMapView changes size to update the stackview parameters.

- (BOOL) verifyMap: (VgMyConfigPreferences *)  pConfig
withOutputErrorStr: (std::string &)  pOutErrorStr 

Member Data Documentation

- (UILabel*) mAvoidStairsRoutingLabel
protected
- (UISwitch*) mAvoidStairsRoutingSwitch
protected
- (UIButton*) mClearRouteButton
protected
- (VgEAGLView*) mMapView
protected
- (UIButton*) mResetPreferencsButton
protected
- (UILabel*) mSimulatePositionLabel
protected
- (UISwitch*) mSimulatePositionSwitch
protected
- (UIButton*) mSwitchViewsButton
protected
- (bool) mTogglePointsVisible
protected
- (UIButton*) mTogglePoisButton
protected
- (VgMyRemoteMapManager*) mVgMyRemoteMapManager
protected
- (VgMyViewControllerImpl*) mVgMyViewControllerImpl
protected

Property Documentation

- (IBOutlet UILabel*) mAvoidStairsRoutingLabel
readwriteatomicretain
- (IBOutlet UISwitch*) mAvoidStairsRoutingSwitch
readwriteatomicretain
- (IBOutlet UIButton*) mClearRouteButton
readwriteatomicretain
- (VgMyConfigPreferences *) mConfigPreferences
readwriteatomicretain
- (IBOutlet VgEAGLView*) mMapView
readwriteatomicretain
- (UIProgressView *) mProgressView
readwriteatomicretain
- (IBOutlet UIButton*) mResetPreferencsButton
readwriteatomicretain
- (IBOutlet UILabel*) mSimulatePositionLabel
readwriteatomicretain
- (IBOutlet UISwitch*) mSimulatePositionSwitch
readwriteatomicretain
- (IBOutlet UIButton*) mSwitchViewsButton
readwriteatomicretain
- (IBOutlet UIButton*) mTogglePoisButton
readwriteatomicretain

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