VisioDevKit-Sample  v2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
VgMyBubbleView Class Reference

Displays information about places in top of the map. More...

Inherits UIView.

Instance Methods

(id) - initWithApplication:position:withID:withRouting:withRouteCreator:
 
(IBAction) - closeFrame:
 
(IBAction) - toggleFrontAndBackViews:
 
(IBAction) - setRouteStart
 
(IBAction) - setRouteEnd
 
(void) - loadInfoView
 

Protected Attributes

VgApplication::VgIApplication * mApplication
 
VgEngine::VgRefPtr
< ViewRepositionPostDrawCallback
mCallback
 
UILabel * mLabelBack
 
UILabel * mLabelFront
 
UIButton * mRouteStartButton
 
UIButton * mRouteEndButton
 
UIButton * mButtonLeft
 
UIButton * mButtonRight
 
UIWebView * mInfoWebView
 
UIView * mBubbleViewFront
 
UIView * mBubbleViewBack
 
UIView * mBubbleViewContainer
 
VgMyRouteCreatormRouteCreator
 

Properties

IBOutlet UILabel * mLabelBack
 
IBOutlet UILabel * mLabelFront
 
NSString * mPlaceID
 
IBOutlet UIButton * mRouteStartButton
 
IBOutlet UIButton * mRouteEndButton
 
IBOutlet UIButton * mButtonLeft
 
IBOutlet UIButton * mButtonRight
 
IBOutlet UIWebView * mInfoWebView
 
IBOutlet UIView * mBubbleViewFront
 
IBOutlet UIView * mBubbleViewBack
 
IBOutlet UIView * mBubbleViewContainer
 

Detailed Description

Displays information about places in top of the map.

This UIView can be shown above the map to display various information

IMPLEMENTATION TIPS : You can display any kind of UIView Use this class to display information when the user clics on a place (Name, thumbnail, ...)

In this sample, the view display the Place ID that has been clicked and buttons for testing way-finding if routing is available.

Method Documentation

- (IBAction) closeFrame: (UIButton *)  sender
- (id) initWithApplication: (VgApplication::VgIApplication *)  pApplication
position: (const VgEngine::VgPosition &)  pPosition
withID: (const std::string &)  pID
withRouting: (BOOL)  pIsRoutingEnabled
withRouteCreator: (VgMyRouteCreator *)  pRouteCreator 
- (void) loadInfoView
- (IBAction) setRouteEnd
- (IBAction) setRouteStart
- (IBAction) toggleFrontAndBackViews: (UIButton *)  sender

Member Data Documentation

- VgApplication:
protected
- (UIView*) mBubbleViewBack
protected
- (UIView*) mBubbleViewContainer
protected
- (UIView*) mBubbleViewFront
protected
- (UIButton*) mButtonLeft
protected
- (UIButton*) mButtonRight
protected
- VgEngine:
protected
- (UIWebView*) mInfoWebView
protected
- (UILabel*) mLabelBack
protected
- (UILabel*) mLabelFront
protected
- (VgMyRouteCreator*) mRouteCreator
protected
- (UIButton*) mRouteEndButton
protected
- (UIButton*) mRouteStartButton
protected

Property Documentation

- (IBOutlet UIView*) mBubbleViewBack
readwriteatomicretain
- (IBOutlet UIView*) mBubbleViewContainer
readwriteatomicretain
- (IBOutlet UIView*) mBubbleViewFront
readwriteatomicretain
- (IBOutlet UIButton*) mButtonLeft
readwriteatomicretain
- (IBOutlet UIButton*) mButtonRight
readwriteatomicretain
- (IBOutlet UIWebView*) mInfoWebView
readwriteatomicretain
- (IBOutlet UILabel*) mLabelBack
readwriteatomicretain
- (IBOutlet UILabel*) mLabelFront
readwriteatomicretain
- (NSString *) mPlaceID
readwriteatomicretain
- (IBOutlet UIButton*) mRouteEndButton
readwriteatomicretain
- (IBOutlet UIButton*) mRouteStartButton
readwriteatomicretain

The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013