Classes
The following classes are available globally.
-
See moreGLMapAnimationdefines the animation of object parameters that will be executed synchronously.Declaration
Objective-C
@interface GLMapAnimation : NSObjectSwift
class GLMapAnimation : NSObject -
See moreGLMapBalloonis used to draw a balloon with text on the map.Declaration
Objective-C
@interface GLMapBalloon : GLMapDrawableSwift
class GLMapBalloon : GLMapDrawable -
See moreGLMapDrawObjectis a base class for GLMapDrawable, GLMapTrack, GLMapMarkerLayer, and GLMapImageGroup.Declaration
Objective-C
@interface GLMapDrawObject : NSObjectSwift
class GLMapDrawObject : NSObject -
GLMapDrawableis a bridge class to work with the GLMap internal representation of objects that should be rendered on the map. This can be a single image, text, or vector object.GLMapDrawablecan be rendered as a separate object or injected into tile data. CheckGLMapImageGroupfor large groups of images orGLMapMarkerLayerto display map markers with clustering.See
[GLMapView addDrawable:]See
GLMapMarkerLayerSee
GLMapImageGroupNormal drawable:
0, GLMapPointMax GLMapPointMax, GLMapPointMax ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ ╭────────────────────T ┃ ┃ │ │ ┃ ┃ │←╍╍╍╍╍╍╍╍╍╍╍╍╍P │ ┃ ┃ │ ╏ │ ┃ ┃ │ ╏ │ ┃ ┃ │ ↓ │ ┃ ┃ O──────────────┴─────╯ ┃ ↑ ┃ ┗━→━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 0,0 GLMapPointMax,0P = 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,0P = position (GLMapPoint) T = position + size * scale (GLMapPoint)
See moreDeclaration
Objective-C
@interface GLMapDrawable : GLMapDrawObjectSwift
class GLMapDrawable : GLMapDrawObject -
See moreGLMapImagedraws an image on the map.Declaration
Objective-C
@interface GLMapImage : GLMapDrawableSwift
class GLMapImage : GLMapDrawable -
See moreGLMapImageGroupis a bridge class, to work with GLMap internal representation of an image group. Image groups are used to display a small set of images for a large number of locations, e.g., 1000 locations on a map, but only with 10 different images.Declaration
Objective-C
@interface GLMapImageGroup : GLMapDrawObjectSwift
class GLMapImageGroup : GLMapDrawObject -
See moreGLMapLabeldraws a label on the map.Declaration
Objective-C
@interface GLMapLabel : GLMapDrawableSwift
class GLMapLabel : GLMapDrawable -
See moreGLMapMarkerLayerdisplays a large number of markers with a given style. It supports marker clustering.Declaration
Objective-C
@interface GLMapMarkerLayer : GLMapDrawObjectSwift
class GLMapMarkerLayer : GLMapDrawObject -
See moreGLMapMarkerStyleCollectionclass holds a collection of styles used to draw a marker layer.Declaration
Objective-C
@interface GLMapMarkerStyleCollection : NSObjectSwift
class GLMapMarkerStyleCollection : NSObject -
See moreGLMapRasterTileSourceis used to set up a custom raster tile source.Declaration
Objective-C
@interface GLMapRasterTileSource : GLMapTileSourceSwift
class GLMapRasterTileSource : GLMapTileSource -
See moreGLMapScaleRulerdraws a scale ruler on the screen.Declaration
Objective-C
@interface GLMapScaleRuler : GLMapDrawObjectSwift
class GLMapScaleRuler : GLMapDrawObject -
See moreGLMapTileSourceis the base class for raster and vector tile sources.Declaration
Objective-C
@interface GLMapTileSource : NSObjectSwift
class GLMapTileSource : NSObject -
See moreGLMapTrackis a container class for track objects. The main difference from a line is that the data generalization function is used for tracks to remove data points redundant for the current zoom level.Declaration
Objective-C
@interface GLMapTrack : GLMapTrackLayerSwift
class GLMapTrack : GLMapTrackLayer -
See moreGLMapTrackLayeris a subclass ofGLMapDrawObjectthat is optimized to render GPS tracks on the map.Declaration
Objective-C
@interface GLMapTrackLayer : GLMapDrawObjectSwift
class GLMapTrackLayer : GLMapDrawObject -
See moreGLMapVectorImageFactoryis used to render images from SVG files. The image factory caches rendered images for future use.Declaration
Objective-C
@interface GLMapVectorImageFactory : NSObjectSwift
class GLMapVectorImageFactory : NSObject -
See moreGLMapVectorImageTransformis used to customize the vector image rendering process and hold all rendering parameters together.Declaration
Objective-C
@interface GLMapVectorImageTransform : NSObjectSwift
class GLMapVectorImageTransform : NSObject -
See moreGLMapVectorLayeris used to draw multiple vector objects on the map.Declaration
Objective-C
@interface GLMapVectorLayer : GLMapDrawableSwift
class GLMapVectorLayer : GLMapDrawable -
Declaration
Objective-C
@interface GLMapVectorTileSource : GLMapTileSourceSwift
class GLMapVectorTileSource : GLMapTileSource -
See moreGLMapViewis a customUIViewthat renders and presents a vector map.Declaration
Objective-C
@interface GLMapView : NSView <CLLocationManagerDelegate>Swift
class GLMapView : NSView, CLLocationManagerDelegate -
GLMapDownloadTaskis a class that downloads offline maps. It allows canceling the map download and checking for download errors.See moreSee
[GLMapManager downloadMap:withCompletionBlock:]Declaration
Objective-C
@interface GLMapDownloadTask : NSObjectSwift
class GLMapDownloadTask : NSObject -
See moreGLMapInfois a class with general information about all resources of a vector map and the states of those resources. It works with map data, navigation data, contour lines, and hillshades. It is returned by-[GLMapManager cachedMapList].Declaration
Objective-C
@interface GLMapInfo : NSObjectSwift
class GLMapInfo : NSObject -
GLMapLocaleSettingsis used to set the language order for allGLMapViewobjects. For each label on the map, the framework checks the translated names in the order set by-initWithLocalesOrder:, if no translated label is available - the native name is used. Following map languages are included in the vector map data:native - native language for the country or region ar - Arabic be - Belarusian cs - Czech da - Danish de - German en - English es - Spanish fr - French it - Italian ja - Japanese ko - Korean nl - Dutch pl - Polish pt - Portuguese ru - Russian sv - Swedish uk - Ukrainian zh - ChineseCheck Multilingual names in OpenStreetMap for more information.
See moreDeclaration
Objective-C
@interface GLMapLocaleSettings : NSObjectSwift
class GLMapLocaleSettings : NSObject -
Map Manager is used to work with the list of offline maps.
See moreDeclaration
Objective-C
@interface GLMapManager : NSObjectSwift
class GLMapManager : NSObject -
Array of GLMapPoint. Useful for loading lines and polygons into GLMapVectorObject. Based on C++ vector and works faster with GLMapPoints without ObjC overhead.
See moreDeclaration
Objective-C
@interface GLMapPointArray : NSObjectSwift
class GLMapPointArray : NSObject -
See moreGLMapVectorObjectis a bridge class, to work with GLMap internal representation of relation.Declaration
Objective-C
@interface GLMapRelation : GLMapTagsContainerSwift
class GLMapRelation : GLMapTagsContainer -
See moreGLMapStyleParseris a class to parse style and analyze the result of parsing.Declaration
Objective-C
@interface GLMapStyleParser : NSObjectSwift
class GLMapStyleParser : NSObject -
See moreGLMapTagsContaineris a base class for objects that contain tags.Declaration
Objective-C
@interface GLMapTagsContainer : NSObjectSwift
class GLMapTagsContainer : NSObject -
See moreGLMapTrackDataclass holds data for track and information to optimize draw at different zoom levels. Data stored without connection to mapView and could be added on differentGLMapViewat the same time.Declaration
Objective-C
@interface GLMapTrackData : NSObjectSwift
class GLMapTrackData : NSObject -
See moreGLMapValueis a class that hold some value and can convert it to Obj-C or Swift valueDeclaration
Objective-C
@interface GLMapValue : NSObjectSwift
class GLMapValue : NSObject -
GLMapVectorCascadeStyleis used to define appearance ofGLMapVectorObject. One style could be used with manyGLMapVectorObjects. 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+.
See morenode|z13-[natural=peak] { text: eval( locTag('name') ); text-color:brown; font-size:12; }Declaration
Objective-C
@interface GLMapVectorCascadeStyle : NSObjectSwift
class GLMapVectorCascadeStyle : NSObject -
See moreGLMapVectorLineis a bridge class, to work with GLMap internal representation of line and multiline.Declaration
Objective-C
@interface GLMapVectorLine : GLMapVectorObjectSwift
class GLMapVectorLine : GLMapVectorObject -
See moreGLMapVectorObjectis a bridge class, to work with GLMap internal representation of vector object.Declaration
Objective-C
@interface GLMapVectorObject : GLMapTagsContainer <NSCopying>Swift
class GLMapVectorObject : GLMapTagsContainer, NSCopying -
See moreGLMapVectorObjectArrayis fast and compact container for vector objects. It uses C++ vector of C++ objects inside.Declaration
Objective-C
@interface GLMapVectorObjectArray : NSObjectSwift
class GLMapVectorObjectArray : NSObject -
See moreGLMapVectorPointis a bridge class, to work with GLMap internal representation of point and multipoint.Declaration
Objective-C
@interface GLMapVectorPoint : GLMapVectorObjectSwift
class GLMapVectorPoint : GLMapVectorObject -
See moreGLMapVectorPolygonis a bridge class, to work with GLMap internal representation of polygon and multipolygon.Declaration
Objective-C
@interface GLMapVectorPolygon : GLMapVectorObjectSwift
class GLMapVectorPolygon : GLMapVectorObject -
See moreGLMapVectorStyleis used to define appearance of text insideGLMapMarkerLayerorGLMapView. 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.orgDeclaration
Objective-C
@interface GLMapVectorStyle : NSObjectSwift
class GLMapVectorStyle : NSObject -
See moreGLMapViewStateholds the state of a mapView (like map position, locale settings, map style).Declaration
Objective-C
@interface GLMapViewState : NSObjectSwift
class GLMapViewState : NSObject -
See moreGLRouteis a class that loads and models route data, providing information about maneuvers, lengths, durations, and more.Declaration
Objective-C
@interface GLRoute : NSObjectSwift
class GLRoute : NSObject -
See moreGLRouteBuilderis a class that constructs custom routes with user-defined maneuvers and target points.Declaration
Objective-C
@interface GLRouteBuilder : NSObjectSwift
class GLRouteBuilder : NSObject -
See moreGLRouteElevationis a class that loads and models height data for a route.Declaration
Objective-C
@interface GLRouteElevation : NSObjectSwift
class GLRouteElevation : NSObject -
See moreGLRouteManeuveris a class that holds data for a route maneuver, providing information about the maneuver type, route mode, start and end points, and more.Declaration
Objective-C
@interface GLRouteManeuver : NSObjectSwift
class GLRouteManeuver : NSObject -
See moreGLRouteRequestis a class that constructs and sends route requests, either offline or online, and provides information about the route.Declaration
Objective-C
@interface GLRouteRequest : NSObjectSwift
class GLRouteRequest : NSObject -
See moreGLRouteTrackeris a class that provides information about maneuvers and updates as the user moves along a route.Declaration
Objective-C
@interface GLRouteTracker : NSObjectSwift
class GLRouteTracker : NSObject -
See moreGLSearchclass performs search in offline maps.Declaration
Objective-C
@interface GLSearch : NSObjectSwift
class GLSearch : NSObject -
See moreGLSearchCategoriesclass holds a set ofGLSearchCategorythat will be used to sort search results by priority.Declaration
Objective-C
@interface GLSearchCategories : NSObjectSwift
class GLSearchCategories : NSObject -
See moreGLSearchCategoryclass represents a category of objects used for search purposes.Declaration
Objective-C
@interface GLSearchCategory : NSObjectSwift
class GLSearchCategory : NSObject
Install in Dash
Classes Reference