GLMapRelation

Objective-C


@interface GLMapRelation : GLMapTagsContainer

Swift

class GLMapRelation : GLMapTagsContainer

GLMapVectorObject is a bridge class, to work with GLMap internal representation of relation.

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

    Set YES when the function should return the route from start to end of the route, and NO when it should return the route in the opposite direction.

    map

    Offline map to load relation info.

    Return Value

    Returns a vector object with the route line.