main.cesium.buildModuleUrl.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* Given a relative URL under the Cesium base URL, returns an absolute URL.
* ```
* var viewer = new Viewer("cesiumContainer", {
* imageryProvider: new TileMapServiceImageryProvider({
* url: buildModuleUrl("Assets/Textures/NaturalEarthII"),
* }),
* baseLayerPicker: false,
* });
* ```
* @param [relativeUrl] The relative path.
* @return The absolutely URL representation of the provided path.
* @see Online Documentation
*/
external fun buildModuleUrl(relativeUrl: String): String