# MGLResourceKind

    enum MGLResourceKind {}

The type of resource that is requested.

- `MGLResourceKindUnknown`

  Unknown type

  #### Declaration

  Objective-C

      MGLResourceKindUnknown

  Swift

      case unknown = 0

  View Source on GitHub
- `MGLResourceKindStyle`

  Style sheet JSON file

  #### Declaration

  Objective-C

      MGLResourceKindStyle

  Swift

      case style = 1

  View Source on GitHub
- `MGLResourceKindSource`

  TileJSON file as specified in https://www.mapbox.com/mapbox-gl-js/style-spec/#root-sources

  #### Declaration

  Objective-C

      MGLResourceKindSource

  Swift

      case source = 2

  View Source on GitHub
- `MGLResourceKindTile`

  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

  View Source on GitHub
- `MGLResourceKindGlyphs`

  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

  View Source on GitHub
- `MGLResourceKindSpriteImage`

  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

  View Source on GitHub
- `MGLResourceKindSpriteJSON`

  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

  View Source on GitHub
- `MGLResourceKindImage`

  Image data for a georeferenced image source. *

  #### Declaration

  Objective-C

      MGLResourceKindImage

  Swift

      case image = 7

  View Source on GitHub