makeDataURL

fun makeDataURL(variables: Map<String, Any> = emptyMap()): URL?

Builds a resolved HTTP(S) URL from url and the given variables, merged with timeRange bounds and XweatherAuthenticator.appendTileCredentialVariables when applicable. Values are URL-encoded.

Return

Parsed URL, or null if url is null or blank (inline data-only sources are valid).

Parameters

variables

Extra template variables for replaceVars (may be empty).