GLMapTrackLayer
@interface GLMapTrackLayer : GLMapDrawObject
GLMapTrackLayer is a subclass of GLMapDrawObject that is optimized to render GPS tracks on map.
-
Unavailable
GLMapTrackLayer should be created with [GLMapTrackLayer initWithDrawOrder:]
Plain -init is disabled
Declaration
Objective-C
- (instancetype _Nonnull)init; -
Initializes new GLMapTrackLayer
Declaration
Objective-C
- (instancetype _Nonnull)initWithDrawOrder:(int32_t)drawOrder;Parameters
drawOrderorder of object
-
Sets new tracks and style
Declaration
Objective-C
- (void)setStyle:(nonnull GLMapVectorStyle *)style andCallback:(nonnull GLMapTrackDataCallback)callback;Parameters
stylestyle for tracks
callbackcallback that provides data for bbox
Install in Dash
GLMapTrackLayer Class Reference