Classes
The following classes are available globally.
-
See moreGLMapAnimation
defines animation of objects parameters that will be executed synchronously.Declaration
Objective-C
@interface GLMapAnimation : NSObject
Swift
class GLMapAnimation : NSObject
-
See moreGLMapBalloon
draws a ballon with text on map.Declaration
Objective-C
@interface GLMapBalloon : GLMapDrawable
Swift
class GLMapBalloon : GLMapDrawable
-
See moreGLMapDrawObject
is a base class for GLMapDrawable, GLMapTrack, GLMapMarkerLayer, GLMapImageGroupDeclaration
Objective-C
@interface GLMapDrawObject : NSObject
Swift
class 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 moreDeclaration
Objective-C
@interface GLMapDrawable : GLMapDrawObject
Swift
class GLMapDrawable : GLMapDrawObject
-
See moreGLMapImage
draws a image on map.Declaration
Objective-C
@interface GLMapImage : GLMapDrawable
Swift
class GLMapImage : GLMapDrawable
-
See moreGLMapImageGroup
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.Declaration
Objective-C
@interface GLMapImageGroup : GLMapDrawObject
Swift
class GLMapImageGroup : GLMapDrawObject
-
See moreGLMapLabel
draws a label on map.Declaration
Objective-C
@interface GLMapLabel : GLMapDrawable
Swift
class GLMapLabel : GLMapDrawable
-
See moreGLMapMarkerLayer
displays big number of markers with given style. It supports marker clustering.Declaration
Objective-C
@interface GLMapMarkerLayer : GLMapDrawObject
Swift
class GLMapMarkerLayer : GLMapDrawObject
-
See moreGLMapMarkerStyleCollection
class holds collection of styles, used to draw marker layer.Declaration
Objective-C
@interface GLMapMarkerStyleCollection : NSObject
Swift
class GLMapMarkerStyleCollection : NSObject
-
GLMapRasterTileSource is used to setup custom raster tile source.
See moreDeclaration
Objective-C
@interface GLMapRasterTileSource : GLMapTileSource
Swift
class GLMapRasterTileSource : GLMapTileSource
-
See moreGLMapScaleRuler
draws a scale ruler on screenDeclaration
Objective-C
@interface GLMapScaleRuler : GLMapDrawObject
Swift
class GLMapScaleRuler : GLMapDrawObject
-
See moreGLMapTileSource
is base class for raster and vector tile sourcesDeclaration
Objective-C
@interface GLMapTileSource : NSObject
Swift
class GLMapTileSource : NSObject
-
See moreGLMapTrack
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.Declaration
Objective-C
@interface GLMapTrack : GLMapTrackLayer
Swift
class GLMapTrack : GLMapTrackLayer
-
See moreGLMapTrackLayer
is a subclass ofGLMapDrawObject
that is optimized to render GPS tracks on map.Declaration
Objective-C
@interface GLMapTrackLayer : GLMapDrawObject
Swift
class GLMapTrackLayer : GLMapDrawObject
-
See moreGLMapVectorImageFactory
used to render images from svg files. Image factory caches rendered images for future use.Declaration
Objective-C
@interface GLMapVectorImageFactory : NSObject
Swift
class GLMapVectorImageFactory : NSObject
-
See moreGLMapVectorImageTransform
used to customize vector image rendering process and hold together all rendering params.Declaration
Objective-C
@interface GLMapVectorImageTransform : NSObject
Swift
class GLMapVectorImageTransform : NSObject
-
See moreGLMapVectorLayer
draws a multiple vector objects on map.Declaration
Objective-C
@interface GLMapVectorLayer : GLMapDrawable
Swift
class GLMapVectorLayer : GLMapDrawable
-
Use
GLMapVectorTileSource
to set layers inGLMapView
Declaration
Objective-C
@interface GLMapVectorTileSource : GLMapTileSource
Swift
class GLMapVectorTileSource : GLMapTileSource
-
See moreGLMapView
is a customUIView
that renders and presents vector map.Declaration
Objective-C
@interface GLMapView : NSView <CLLocationManagerDelegate>
Swift
class 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:]
Declaration
Objective-C
@interface GLMapDownloadTask : NSObject
Swift
class GLMapDownloadTask : NSObject
-
See moreGLMapInfo
is a class with general information about all resources of vector map and states of that resources. It works with map data, navigation data, contour lines and hill shades. Returned by-[GLMapManager cachedMapList]
Declaration
Objective-C
@interface GLMapInfo : NSObject
Swift
class GLMapInfo : NSObject
-
GLMapLocaleSettings
is used to set language order to allGLMapView
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
- 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 - Chinese
Check Multilingual names in OpenStreetMap for more information.
See moreDeclaration
Objective-C
@interface GLMapLocaleSettings : NSObject
Swift
class GLMapLocaleSettings : NSObject
-
Map manager used to work with list of offline maps
See moreDeclaration
Objective-C
@interface GLMapManager : NSObject
Swift
class 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 moreDeclaration
Objective-C
@interface GLMapPointArray : NSObject
Swift
class GLMapPointArray : NSObject
-
See moreGLMapVectorObject
is a bridge class, to work with GLMap internal representation of relation.Declaration
Objective-C
@interface GLMapRelation : GLMapTagsContainer
Swift
class GLMapRelation : GLMapTagsContainer
-
See moreGLMapStyleParser
is calss to parse style and analyze result of parsingDeclaration
Objective-C
@interface GLMapStyleParser : NSObject
Swift
class GLMapStyleParser : NSObject
-
See moreGLMapTagsContainer
is a base class for objects that contains tagsDeclaration
Objective-C
@interface GLMapTagsContainer : NSObject
Swift
class GLMapTagsContainer : NSObject
-
See moreGLMapTrackData
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 differentGLMapView
at the same time.Declaration
Objective-C
@interface GLMapTrackData : NSObject
Swift
class GLMapTrackData : NSObject
-
See moreGLMapValue
is a class that hold some value and can convert it to Obj-C or Swift valueDeclaration
Objective-C
@interface GLMapValue : NSObject
Swift
class GLMapValue : NSObject
-
GLMapVectorCascadeStyle
is 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 : NSObject
Swift
class GLMapVectorCascadeStyle : NSObject
-
See moreGLMapVectorLine
is a bridge class, to work with GLMap internal representation of line and multiline.Declaration
Objective-C
@interface GLMapVectorLine : GLMapVectorObject
Swift
class GLMapVectorLine : GLMapVectorObject
-
See moreGLMapVectorObject
is 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 moreGLMapVectorObjectArray
is fast and compact container for vector objects. It uses C++ vector of C++ objects inside.Declaration
Objective-C
@interface GLMapVectorObjectArray : NSObject
Swift
class GLMapVectorObjectArray : NSObject
-
See moreGLMapVectorPolygon
is a bridge class, to work with GLMap internal representation of point and multipoint.Declaration
Objective-C
@interface GLMapVectorPoint : GLMapVectorObject
Swift
class GLMapVectorPoint : GLMapVectorObject
-
See moreGLMapVectorPolygon
is a bridge class, to work with GLMap internal representation of polygon and multipolygon.Declaration
Objective-C
@interface GLMapVectorPolygon : GLMapVectorObject
Swift
class GLMapVectorPolygon : GLMapVectorObject
-
GLMapVectorStyle
is used to define appearance of text insideGLMapMarkerLayer
orGLMapView
.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 moreDeclaration
Objective-C
@interface GLMapVectorStyle : NSObject
Swift
class GLMapVectorStyle : NSObject
-
Class that holds state of map view (like map position, locale settings, map style)
See moreDeclaration
Objective-C
@interface GLMapViewState : NSObject
Swift
class GLMapViewState : NSObject
-
Class to load route data
See moreDeclaration
Objective-C
@interface GLRoute : NSObject
Swift
class GLRoute : NSObject
-
Class to construct custom routes
See moreDeclaration
Objective-C
@interface GLRouteBuilder : NSObject
Swift
class GLRouteBuilder : NSObject
-
Class to load height data
See moreDeclaration
Objective-C
@interface GLRouteElevation : NSObject
Swift
class GLRouteElevation : NSObject
-
Class that holding data for the route manuver
See moreDeclaration
Objective-C
@interface GLRouteManeuver : NSObject
Swift
class GLRouteManeuver : NSObject
-
Requests route. When offline config is provided computes route offline on device, otherwise requests from server.
See moreDeclaration
Objective-C
@interface GLRouteRequest : NSObject
Swift
class GLRouteRequest : NSObject
-
Class to get information about maneuvers while user move by route
See moreDeclaration
Objective-C
@interface GLRouteTracker : NSObject
Swift
class GLRouteTracker : NSObject
-
See moreGLSearch
class contains a set of parameters that defines search in offline mapsDeclaration
Objective-C
@interface GLSearch : NSObject
Swift
class GLSearch : NSObject
-
See moreGLSearchCategories
class holds a set ofGLSearchCategory
that will be used to sort search results by priority.Declaration
Objective-C
@interface GLSearchCategories : NSObject
Swift
class GLSearchCategories : NSObject
-
See moreGLSearchCategory
class holds information about category that can be displayed to user.Declaration
Objective-C
@interface GLSearchCategory : NSObject
Swift
class GLSearchCategory : NSObject