GLMapRelation

Objective-C


@interface GLMapRelation : GLMapTagsContainer

Swift

class GLMapRelation : GLMapTagsContainer

GLMapRelation is a bridge class to work with GLMap’s internal representation of relations.

GLSearch

  • Loads data from the map and creates a GLMapVectorObject.

    Declaration

    Objective-C

    - (GLMapVectorLine *_Nullable)loadMergedLines:(BOOL)isForward
                                            inMap:(GLMapInfo *_Nullable)map;

    Swift

    func loadMergedLines(_ isForward: Bool, inMap map: GLMapInfo?) -> GLMapVectorLine?

    Parameters

    isForward

    Pass YES to return the route from start to end, or NO to return it in the opposite direction.

    map

    Offline map to load relation info.

    Return Value

    Returns a vector object with the route line.