getExtensionFromUri

getExtensionFromUri(uri)String

给定uri,返回uri的扩展名。
Name Type Description
uri String Uri。
Returns:
Uri的扩展。
Example:
//extension will be "czml";
var extension = SuperMap3D.getExtensionFromUri('/Gallery/simple.czml?value=true&example=false');