getBaseUri

getBaseUri(uri)String

Given a URI, returns the base path of the URI.
Name Type Description
uri String The Uri.
Returns:
The base path of the Uri.
Example:
// basePath will be "/Gallery/";
var basePath = Cesium.getBaseUri('/Gallery/simple.czml?value=true&example=false');