main.cesium.getAbsoluteUri.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* Given a relative Uri and a base Uri, returns the absolute Uri of the relative Uri.
* ```
* //absolute Uri will be "https://test.com/awesome.png";
* var absoluteUri = getAbsoluteUri('awesome.png', 'https://test.com');
* ```
* @param [relative] The relative Uri.
* @param [base] The base Uri.
* @return The absolute Uri of the given relative Uri.
* @see Online Documentation
*/
@JsName("\$cesium__getAbsoluteUri")
external fun getAbsoluteUri(
relative: String,
base: String? = definedExternally,
): String