Given a URI, returns the last segment of the URI, removing any path or query information.
Parameters:
Name | Type | Description |
---|---|---|
uri |
String | The Uri. |
- Source:
Returns:
The last segment of the Uri.
- Type
- String
Example
//fileName will be"simple.czml";
var fileName = Cesium.getFilenameFromUri('/Gallery/simple.czml?value=true&example=false');