text stringlengths 0 8.81k |
|---|
string |
optional |
The base Uri. |
Returns: |
The absolute Uri of the given relative Uri. |
Example: |
//absolute Uri will be "https://test.com/awesome.png"; |
const absoluteUri = Cesium.getAbsoluteUri('awesome.png', 'https://test.com'); |
getBaseUri(uri, includeQuery) → string |
engine/Source/Core/getBaseUri.js 20 |
Given a URI, returns the base path of the URI. |
Name |
Type |
Default |
Description |
uri |
string |
The Uri. |
includeQuery |
boolean |
false |
optional |
Whether or not to include the query string and fragment form the uri |
Returns: |
The base path of the Uri. |
Example: |
// basePath will be "/Gallery/"; |
const basePath = Cesium.getBaseUri('/Gallery/simple.czml?value=true&example=false'); |
// basePath will be "/Gallery/?value=true&example=false"; |
const basePath = Cesium.getBaseUri('/Gallery/simple.czml?value=true&example=false', true); |
getExtensionFromUri(uri) → string |
engine/Source/Core/getExtensionFromUri.js 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.