MGLResourceKind

enum MGLResourceKind {}

The type of resource that is requested.

MGLResourceKindUnknown

Unknown type

Declaration

Objective-C

MGLResourceKindUnknown

Swift

case unknown = 0

MGLResourceKindStyle

Style sheet JSON file

Declaration

Objective-C

MGLResourceKindStyle

Swift

case style = 1

MGLResourceKindSource

TileJSON file as specified in https://docs.maptiler.com/gl-style-specification/root/#sources

Declaration

Objective-C

MGLResourceKindSource

Swift

case source = 2

MGLResourceKindTile

A vector or raster tile as described in the style sheet at https://docs.maptiler.com/gl-style-specification/sources

Declaration

Objective-C

MGLResourceKindTile

Swift

case tile = 3

MGLResourceKindGlyphs

Signed distance field glyphs for text rendering. These are the URLs specified in the style in https://docs.maptiler.com/gl-style-specification/root/#glyphs

Declaration

Objective-C

MGLResourceKindGlyphs

Swift

case glyphs = 4

MGLResourceKindSpriteImage

Image part of a sprite sheet. It is constructed of the prefix in https://docs.maptiler.com/gl-style-specification/root/#sprite and a PNG file extension.

Declaration

Objective-C

MGLResourceKindSpriteImage

Swift

case spriteImage = 5

MGLResourceKindSpriteJSON

JSON part of a sprite sheet. It is constructed of the prefix in https://docs.maptiler.com/gl-style-specification/root/#sprite and a JSON file extension.

Declaration

Objective-C

MGLResourceKindSpriteJSON

Swift

case spriteJSON = 6

MGLResourceKindImage

Image data for a georeferenced image source. *

Declaration

Objective-C

MGLResourceKindImage

Swift

case image = 7
iOS SDK

SDK JS Reference

On this page