Skip to content

KBE3D / KBCore / Cesium / getExtensionFromUri

函数: getExtensionFromUri()

getExtensionFromUri(uri: string): string

Given a URI, returns the extension of the URI.

参数

uri

string

The Uri.

返回

string

The extension of the Uri.

示例

ts
//extension will be "czml";
const extension = Cesium.getExtensionFromUri('/Gallery/simple.czml?value=true&example=false');

KBE3D @3.0.0 Copyright © 2024-present KBE3D