Package com.mapbox.maps.extension.style.sources
Types
CustomGeometrySource
Link copied to clipboard
class CustomGeometrySource(id: String, options: CustomGeometrySourceOptions) : StyleContract.StyleSourceExtension
Content copied to clipboard
Custom Vector Source, allows using FeatureCollections.
Source
Link copied to clipboard
abstract class Source(sourceId: String) : StyleContract.StyleSourceExtension
Content copied to clipboard
Base class for sources.
Functions
addSource
Link copied to clipboard
Extension function to add a Source provided by the Style Extension to the Style.
customGeometrySource
Link copied to clipboard
fun customGeometrySource(id: String, block: CustomGeometrySourceOptions.Builder.() -> Unit): CustomGeometrySource
Content copied to clipboard
DSL function for CustomGeometrySource.
getSource
Link copied to clipboard
Extension function to get a Source provided by the Style Extension by source id.
getSourceAs
Link copied to clipboard
inline fun <T : Source> StyleManagerInterface.getSourceAs(sourceId: String): T?
Content copied to clipboard
Tries to cast the Source to T.
updateImage
Link copied to clipboard
Updates the image of an image style source.