All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.getBaseUri.kt Maven / Gradle / Ivy

There is a newer version: 1.90.0-10
Show newest version
// Automatically generated - do not modify!

package cesium

/**
 * Given a URI, returns the base path of the URI.
 * ```
 * // basePath will be "/Gallery/";
 * var basePath = getBaseUri('/Gallery/simple.czml?value=true&example=false');
 *
 * // basePath will be "/Gallery/?value=true&example=false";
 * var basePath = getBaseUri('/Gallery/simple.czml?value=true&example=false', true);
 * ```
 * @param [uri] The Uri.
 * @param [includeQuery] Whether or not to include the query string and fragment form the uri
 *   Default value - `false`
 * @return The base path of the Uri.
 * @see Online Documentation
 */
@JsName("\$cesium__getBaseUri")
external fun getBaseUri(
    uri: String,
    includeQuery: Boolean? = definedExternally,
): String




© 2015 - 2024 Weber Informatics LLC | Privacy Policy