MTMapReferenceStyle.CUSTOM

data class CUSTOM(val url: URL) : MTMapReferenceStyle

Custom style from the URL.

Constructors

constructor(url: URL)

Properties

val url: URL

Functions

fun fetchStyleUrl(variant: MTMapStyleVariant? = null, apiKey: String): URL?

Resolves the concrete MapTiler Cloud style URL for this reference style and optional variant. Returns null if the custom URL is malformed.