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

Types

Encoding
Link copied to clipboard

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

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

A GeoJSON data source.

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

An image data source.

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

A RGB-encoded raster DEM source

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

A raster tile source.

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

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

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

A vector tile source.

class VectorSource(builder: VectorSource.Builder) : Source

Functions

geoJsonSource
Link copied to clipboard

DSL function for GeoJsonSource.

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

DSL function for ImageSource.

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

DSL function for RasterDemSource.

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

DSL function for RasterSource.

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

DSL function for VectorSource.

fun vectorSource(id: String, block: VectorSource.Builder.() -> Unit): VectorSource