<GMTCMapViewSession> Protocol Reference

<GMTCMapViewSession> Protocol Reference

Inherited by GMTCJourneySharingSession.

Public Member Functions

(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

__kindof id
< GMTCMapViewSessionDelegate
delegate
 Returns the current session state.
GMTCMapViewSessionState state
 Returns the current session state.
GMTCMapViewhostMapView
 Returns the host map view of the current session.

Member Function Documentation

- (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

- (__kindof id<GMTCMapViewSessionDelegate>) delegate [read, write, optional, assign]

Returns the current session state.

The possible state can be referenced from GMTCMapViewSessionState.

Reimplemented in GMTCJourneySharingSession.

- (GMTCMapViewSessionState) state [read, required, assign]

Returns the current session state.

The possible state can be referenced from GMTCMapViewSessionState.

Reimplemented in GMTCJourneySharingSession.

- (GMTCMapView*) hostMapView [read, assign]

Returns the host map view of the current session.

Reimplemented in GMTCJourneySharingSession.