TTMapViewDelegate
Objective-C
@protocol TTMapViewDelegate <TTMapViewCameraDelegate, TTMapViewGestureDelegate>
Swift
protocol TTMapViewDelegate : TTMapViewCameraDelegate, TTMapViewGestureDelegate
The TTMapViewDelegate
protocol defines a set of optional methods that you
can use to receive map-related update messages. Because many map operations
require the TTMapView
class to load data asynchronously, the map view calls
these methods to notify your application when specific operations complete.
-
Called when the map has been loaded - including tiles, however in Offline mode when tiles are not load event is not triggered
Declaration
Objective-C
- (void)didFinishLoadingMap:(TTMapView *_Nonnull)mapView;
Swift
optional func didFinishLoadingMap(_ mapView: TTMapView)
Parameters
mapView
The map view.