Inherits <GMTCMapViewSession>.
Public Member Functions | |
(instancetype) | - initWithTripModel: |
Initializes the session object. | |
(void) | - didAddToMapView: |
Called by a GMTCMapView instance when the session has been added to it. | |
(void) | - didRemoveFromMapView: |
Called by a GMTCMapView instance when the session has been removed from it. | |
Properties | |
id< GMTCMapViewSessionDelegate > | delegate |
Delegate of the current journey sharing session. | |
GMTCMapViewSessionState | state |
Returns the current session state. | |
GMTCMapView * | hostMapView |
Returns the host map view of the current session. | |
GMTCTripModel * | tripModel |
Returns the associated trip session. |
Member Function Documentation
- (instancetype) initWithTripModel: | (GMTCTripModel *) | tripModel |
Initializes the session object.
- Parameters:
-
tripModel The target trip request.
- (void) didAddToMapView: | (GMTCMapView *) | mapView |
Called by a GMTCMapView instance when the session has been added to it.
- (void) didRemoveFromMapView: | (GMTCMapView *) | mapView |
Called by a GMTCMapView instance when the session has been removed from it.
Property Documentation
- (id<GMTCMapViewSessionDelegate>) delegate [read, write, assign] |
Delegate of the current journey sharing session.
Reimplemented from <GMTCMapViewSession>.
- (GMTCMapViewSessionState) state [read, assign] |
Returns the current session state.
The possible state can be referenced from GMTCMapViewSessionState
.
Reimplemented from <GMTCMapViewSession>.
- (GMTCMapView*) hostMapView [read, assign] |
Returns the host map view of the current session.
Reimplemented from <GMTCMapViewSession>.
- (GMTCTripModel*) tripModel [read, assign] |
Returns the associated trip session.