Package com. mapbox. maps. extension. style. sources
Types
Custom Geometry Source
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
add Source
Link copied to clipboard
Extension function to add a Source provided by the Style Extension to the Style.
custom Geometry Source
Link copied to clipboard
fun customGeometrySource(id: String, block: CustomGeometrySourceOptions.Builder.() -> Unit): CustomGeometrySource
Content copied to clipboard
DSL function for CustomGeometrySource.
get Source
Link copied to clipboard
Extension function to get a Source provided by the Style Extension by source id.
get Source As
Link copied to clipboard
inline fun <T : Source> StyleManagerInterface.getSourceAs(sourceId: String): T?
Content copied to clipboard
Tries to cast the Source to T.
update Image
Link copied to clipboard
Updates the image of an image style source.