Package com.mapbox.maps.extension.style.sources.generated

Types

Encoding
Link copied to clipboard
enum Encoding : Enum<Encoding>

The encoding used by this source. Mapbox Terrain RGB is used by default

GeoJsonSource
Link copied to clipboard
class GeoJsonSource : Source

A GeoJSON data source.

ImageSource
Link copied to clipboard
class ImageSource(builder: ImageSource.Builder) : Source

An image data source.

RasterDemSource
Link copied to clipboard
class RasterDemSource(builder: RasterDemSource.Builder) : Source

A RGB-encoded raster DEM source

RasterSource
Link copied to clipboard
class RasterSource(builder: RasterSource.Builder) : Source

A raster tile source.

Scheme
Link copied to clipboard
enum Scheme : Enum<Scheme>

Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.

VectorSource
Link copied to clipboard
class VectorSource(builder: VectorSource.Builder) : Source

A vector tile source.

Functions

geoJsonSource
Link copied to clipboard
fun geoJsonSource(id: String): GeoJsonSource

DSL function for GeoJsonSource accepting empty data source. Immediately returns GeoJsonSource with no data set.

fun geoJsonSource(id: String, block: GeoJsonSource.Builder.() -> Unit): GeoJsonSource

DSL function for GeoJsonSource.

imageSource
Link copied to clipboard
fun imageSource(id: String, block: ImageSource.Builder.() -> Unit): ImageSource

DSL function for ImageSource.

rasterDemSource
Link copied to clipboard
fun rasterDemSource(id: String, block: RasterDemSource.Builder.() -> Unit): RasterDemSource

DSL function for RasterDemSource.

rasterSource
Link copied to clipboard
fun rasterSource(id: String, block: RasterSource.Builder.() -> Unit): RasterSource

DSL function for RasterSource.

vectorSource
Link copied to clipboard
fun vectorSource(id: String, block: VectorSource.Builder.() -> Unit): VectorSource

DSL function for VectorSource.