MSFCompositeSourceType

Objective-C

enum MSFCompositeSourceType : NSInteger {}

Swift

enum MSFCompositeSourceType : Int, @unchecked Sendable

The kind of an external data source added to a CompositeVectorTileLayer.

  • A raster tile source, drawn as a RasterTileLayer at its style slot.

    Declaration

    Objective-C

    MSF_COMPOSITE_SOURCE_TYPE_RASTER

    Swift

    case COMPOSITE_SOURCE_TYPE_RASTER = 0
  • An RGB-encoded elevation source, drawn as a HillshadeRasterTileLayer at its style slot.

    Declaration

    Objective-C

    MSF_COMPOSITE_SOURCE_TYPE_HILLSHADE

    Swift

    case COMPOSITE_SOURCE_TYPE_HILLSHADE = 1
  • Another MBVT/protobuf source (including ContourTileDataSource), drawn at its style slot as its own child VectorTileLayer with the master decoder, so it overzooms independently via its own MaxOverzoomLevel.

    Declaration

    Objective-C

    MSF_COMPOSITE_SOURCE_TYPE_VECTOR

    Swift

    case COMPOSITE_SOURCE_TYPE_VECTOR = 2