GLMapRelation
Objective-C
@interface GLMapRelation : GLMapTagsContainer
Swift
class GLMapRelation : GLMapTagsContainer
GLMapVectorObject
is a bridge class, to work with GLMap internal representation of relation.
-
Loads data from map and creates
GLMapVectorObject
Declaration
Objective-C
- (GLMapVectorLine *_Nullable)loadMergedLines:(BOOL)isForward inMap:(GLMapInfo *_Nullable)map;
Swift
func loadMergedLines(_ isForward: Bool, inMap map: GLMapInfo?) -> GLMapVectorLine?
Parameters
isForward
Set YES when function should return route from start to end of the route and NO when it should return route in opposite direction
map
Offline map to load relation info
Return Value
Returns vector object with route line