Classes

The following classes are available globally.

  • GLMapAnimation defines animation of objects parameters that will be executed synchronously.

    See more

    Declaration

    Objective-C

    
    @interface GLMapAnimation : NSObject
  • GLMapBalloondraws a ballon with text on map.

    See more

    Declaration

    Objective-C

    
    @interface GLMapBalloon : GLMapDrawable
  • GLMapDrawObject is a base class for GLMapDrawable, GLMapTrack, GLMapMarkerLayer, GLMapImageGroup

    See more

    Declaration

    Objective-C

    
    @interface GLMapDrawObject : NSObject
  • Normal drawable: 0, GLMapPointMax GLMapPointMax, GLMapPointMax ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ╭────────────────────T ┃ ┃ │ │ ┃ ┃ │←╍╍╍╍╍╍╍╍╍╍╍╍╍P │ ┃ ┃ │ ╏ │ ┃ ┃ │ ╏ │ ┃ ┃ │ ↓ │ ┃ ┃ O──────────────┴─────╯ ┃ ↑ ┃ ┗━→━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 0,0 GLMapPointMax,0

    P = position (GLMapPoint) O = position - offset * scale (pt) T = O + size * scale (pt)

    Drawable that uses transform: 0, GLMapPointMax GLMapPointMax, GLMapPointMax ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ╭────────────────────T ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ │ │ ┃ ┃ P────────────────────╯ ┃ ↑ ┃ ┗━━→━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 0,0 GLMapPointMax,0

    P = position (GLMapPoint) T = position + size * scale (GLMapPoint) *

    See more

    Declaration

    Objective-C

    
    @interface GLMapDrawable : GLMapDrawObject
  • GLMapImagedraws a image on map.

    See more

    Declaration

    Objective-C

    
    @interface GLMapImage : GLMapDrawable
  • GLMapImageGroup is a bridge class, to work with GLMap internal representation of image group. Image groups used to display small set of images for the large number of locations. E.g. 1000 locations on map, but only with 10 different images.

    See more

    Declaration

    Objective-C

    
    @interface GLMapImageGroup : GLMapDrawObject
  • GLMapLabeldraws a label on map.

    See more

    Declaration

    Objective-C

    
    @interface GLMapLabel : GLMapDrawable
  • GLMapMarkerLayer displays big number of markers with given style. It supports marker clustering.

    See more

    Declaration

    Objective-C

    
    @interface GLMapMarkerLayer : GLMapDrawObject
  • GLMapMarkerStyleCollection class holds collection of styles, used to draw marker layer.

    See more

    Declaration

    Objective-C

    
    @interface GLMapMarkerStyleCollection : NSObject
  • GLMapRasterTileSource is used to setup custom raster tile source.

    See more

    Declaration

    Objective-C

    
    @interface GLMapRasterTileSource : GLMapTileSource
  • GLMapTileSource is base class for raster and vector tile sources

    See more

    Declaration

    Objective-C

    @interface GLMapTileSource : NSObject
  • GLMapTrack is a container class for track objects. Main difference from line - data generalization function is used for tracks to remove data points redundant for current zoom level.

    See more

    Declaration

    Objective-C

    
    @interface GLMapTrack : GLMapTrackLayer
  • GLMapTrackLayer is a subclass of GLMapDrawObject that is optimized to render GPS tracks on map.

    See more

    Declaration

    Objective-C

    
    @interface GLMapTrackLayer : GLMapDrawObject
  • GLMapVectorImageFactory used to render images from svg files. Image factory caches rendered images for future use.

    See more

    Declaration

    Objective-C

    
    @interface GLMapVectorImageFactory : NSObject
  • GLMapVectorLayerdraws a multiple vector objects on map.

    See more

    Declaration

    Objective-C

    
    @interface GLMapVectorLayer : GLMapDrawable
  • Use GLMapVectorTileSource to set layers in GLMapView

    Declaration

    Objective-C

    
    @interface GLMapVectorTileSource : GLMapTileSource
  • GLMapView is a custom UIView that renders and presents vector map.

    See more

    Declaration

    Objective-C

    
    @interface GLMapView : NSView <CLLocationManagerDelegate>
  • GLMapDownloadTask is a class that downloads offline maps. It allows to cancel map download and check download error.

    See

    [GLMapManager downloadMap:withCompletionBlock:]
    See more

    Declaration

    Objective-C

    
    @interface GLMapDownloadTask : NSObject
  • GLMapDrawAttributes is a container for result of resolving of draw attributes of vector object.

    See more

    Declaration

    Objective-C

    
    @interface GLMapDrawAttributes : NSObject
  • GLMapInfo is a class with general information about all resources of vector map and states of that resources. It works with map data and navigation data. In future versions it could be extended to work with contour lines and hill shades. Returned by -[GLMapManager cachedMapList]

    See more

    Declaration

    Objective-C

    
    @interface GLMapInfo : NSObject
  • GLMapLocaleSettings is used to set language order to all GLMapView objects.

    For each label on map framework checks translated names in order set by -initWithLocalesOrder:, if no translated label is available - native name is used.

    Following map languages is included in vector map data

    • native - native language in for country or region
    • en - English
    • de - German
    • es - Spanish
    • fr - French
    • it - Italian
    • ja - Japanese
    • nl - Dutch
    • ru - Russan
    • zh - Chinese
    • uk - Urkrainian
    • be - Belarusian

    Check Multilingual names in OpenStreetMap for more information.

    See more

    Declaration

    Objective-C

    
    @interface GLMapLocaleSettings : NSObject
  • Map manager used to work with list of offline maps

    See more

    Declaration

    Objective-C

    
    @interface GLMapManager : NSObject
  • Array of GLMapPoint. Usesefull to load lines and polygons into GLMapVectorObject. Based on C++ vector and works faster with GLMapPoints without obj-c overhead, *

    See more

    Declaration

    Objective-C

    
    @interface GLMapPointArray : NSObject
  • GLMapVectorObject is a bridge class, to work with GLMap internal representation of relation.

    See more

    Declaration

    Objective-C

    
    @interface GLMapRelation : GLMapTagsContainer
  • GLMapStyleParser is calss to parse style and analyze result of parsing

    See more

    Declaration

    Objective-C

    
    @interface GLMapStyleParser : NSObject
  • GLMapTagsContainer is a base class for objects that contains tags

    See more

    Declaration

    Objective-C

    @interface GLMapTagsContainer : NSObject
  • GLMapTrackData class holds data for track and information to optimize draw at different zoom levels. Data stored without connection to mapView and could be added on different GLMapView at the same time.

    See more

    Declaration

    Objective-C

    
    @interface GLMapTrackData : NSObject
  • GLMapValue is a class that hold some value and can convert it to Obj-C or Swift value

    See more

    Declaration

    Objective-C

    
    @interface GLMapValue : NSObject
  • GLMapVectorCascadeStyle is used to define appearance of GLMapVectorObject. One style could be used with many GLMapVectorObjects.

    Style is used to render a map, which is stored inside DefaultStyle.bundle/Style.mapcss. Detailed MapCSS specification is located at: http://www.mapcss.org

    MapCSS examples:

    Any point with tag natural=peak, should be displayed on zoom level 11+ with trangle icon tinted with brown color.

     node|z11-[natural=peak] {
        icon-image:"triangle.svg";
        icon-tint:brown;
     }
    

    Any point with tag natural=peak, should display it’s localized name on zoom level 13+.

     node|z13-[natural=peak] {
     text: eval( locTag('name') );
        text-color:brown;
        font-size:12;
     }
    
    See more

    Declaration

    Objective-C

    
    @interface GLMapVectorCascadeStyle : NSObject
  • GLMapVectorObject is a bridge class, to work with GLMap internal representation of vector object.

    See more

    Declaration

    Objective-C

    
    @interface GLMapVectorObject : GLMapTagsContainer <NSCopying>
  • GLMapVectorObjectArray is fast and compact container for vector objects. It uses C++ vector of C++ objects inside.

    See more

    Declaration

    Objective-C

    
    @interface GLMapVectorObjectArray : NSObject
  • GLMapVectorStyle is used to define appearance of text inside GLMapMarkerLayer or GLMapView.

    Style is used to render a map, which is stored inside DefaultStyle.bundle/Style.mapcss file. Detailed MapCSS specification is located at: http://www.mapcss.org

    See more

    Declaration

    Objective-C

    
    @interface GLMapVectorStyle : NSObject
  • Class that holds state of map view (like map position, locale settings, map style)

    See more

    Declaration

    Objective-C

    
    @interface GLMapViewState : NSObject
  • Class to load route data

    See more

    Declaration

    Objective-C

    
    @interface GLRoute : NSObject
  • Class to construct custom routes

    See more

    Declaration

    Objective-C

    
    @interface GLRouteBuilder : NSObject
  • Class to load height data

    See more

    Declaration

    Objective-C

    
    @interface GLRouteElevation : NSObject
  • Class that holding data for the route manuver

    See more

    Declaration

    Objective-C

    
    @interface GLRouteManeuver : NSObject
  • Requests route. When offline config is provided computes route offline on device, otherwise requests from server.

    See more

    Declaration

    Objective-C

    
    @interface GLRouteRequest : NSObject
  • Class to get information about maneuvers while user move by route

    See more

    Declaration

    Objective-C

    
    @interface GLRouteTracker : NSObject
  • GLSearch class contains a set of parameters that defines search in offline maps

    See more

    Declaration

    Objective-C

    
    @interface GLSearch : NSObject
  • GLSearchCategories class holds a set of GLSearchCategory that will be used to sort search results by priority.

    See more

    Declaration

    Objective-C

    
    @interface GLSearchCategories : NSObject
  • GLSearchCategory class holds information about category that can be displayed to user.

    See more

    Declaration

    Objective-C

    
    @interface GLSearchCategory : NSObject
  • GLSearchFilter class contains a set of parameters that defines filter for GLSearch

    See more

    Declaration

    Objective-C

    
    @interface GLSearchFilter : NSObject