Given a URI, returns the extension of the URI.
Parameters:
Name |
Type |
Description |
uri |
String
|
The Uri. |
- Source:
Returns:
The extension of the Uri.
-
Type
-
String
Example
//extension will be "czml";
var extension = Cesium.getExtensionFromUri('/Gallery/simple.czml?value=true&example=false');