Protocols
The following protocols are available globally.
-
A delegate for events on
GMSMapView
related to the navigation UI.Declaration
Swift
protocol GMSMapViewNavigationUIDelegate : NSObjectProtocol
Objective-C
@protocol GMSMapViewNavigationUIDelegate <NSObject>
-
Protocol defining methods that support custom views specifying accessory UI elements applied to the primary view. Accessory views must implement this protocol in order to be visible.
Declaration
Swift
protocol GMSNavigationAccessoryView : NSObjectProtocol
Objective-C
@protocol GMSNavigationAccessoryView <NSObject>
-
Protocol for returning information about screen metrics.
This protocol is a subset of the screen-metric-related properties implemented by
UIScreen
.Declaration
Swift
protocol GMSNavigationScreenMetrics
Objective-C
@protocol GMSNavigationScreenMetrics
-
Listener for events on
GMSNavigator
.Declaration
Swift
protocol GMSNavigatorListener : NSObjectProtocol
Objective-C
@protocol GMSNavigatorListener <NSObject>
-
Listener for events on
GMSRoadSnappedLocationProvider
.Declaration
Swift
protocol GMSRoadSnappedLocationProviderListener : NSObjectProtocol
Objective-C
@protocol GMSRoadSnappedLocationProviderListener <NSObject>
-
An interface representing a feature’s metadata.
Do not save a reference to a particular feature object because the reference will not be stable.
Declaration
Swift
protocol Feature : NSObjectProtocol
Objective-C
@protocol GMSFeature <NSObject>
-
Delegate for events on
GMSIndoorDisplay
.Declaration
Swift
protocol GMSIndoorDisplayDelegate : NSObjectProtocol
Objective-C
@protocol GMSIndoorDisplayDelegate <NSObject>
-
Delegate for events on
GMSMapView
.Declaration
Swift
protocol GMSMapViewDelegate : NSObjectProtocol
Objective-C
@protocol GMSMapViewDelegate <NSObject>
-
Delegate for events on
GMSPanoramaView
.Declaration
Swift
protocol GMSPanoramaViewDelegate : NSObjectProtocol
Objective-C
@protocol GMSPanoramaViewDelegate <NSObject>
-
GMSTileReceiver
is provided toGMSTileLayer
when a tile request is made, allowing the callback to be later (or immediately) invoked.Declaration
Swift
protocol GMSTileReceiver : NSObjectProtocol
Objective-C
@protocol GMSTileReceiver <NSObject>