-
Unknown type
Declaration
Objective-C
MGLResourceKindUnknown
Swift
case unknown = 0
-
Style sheet JSON file
Declaration
Objective-C
MGLResourceKindStyle
Swift
case style = 1
-
TileJSON file as specified in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sources
Declaration
Objective-C
MGLResourceKindSource
Swift
case source = 2
-
A vector or raster tile as described in the style sheet at https://www.mapbox.com/mapbox-gl-js/style-spec/#sources
Declaration
Objective-C
MGLResourceKindTile
Swift
case tile = 3
-
Signed distance field glyphs for text rendering. These are the URLs specified in the style in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-glyphs
Declaration
Objective-C
MGLResourceKindGlyphs
Swift
case glyphs = 4
-
Image part of a sprite sheet. It is constructed of the prefix in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sprite and a PNG file extension.
Declaration
Objective-C
MGLResourceKindSpriteImage
Swift
case spriteImage = 5
-
JSON part of a sprite sheet. It is constructed of the prefix in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sprite and a JSON file extension.
Declaration
Objective-C
MGLResourceKindSpriteJSON
Swift
case spriteJSON = 6