getAbsoluteUri

getAbsoluteUri(relative, base)String

是用于生成绝对 URI 的工具。
Name Type Description
relative String 相对 Uri。
base String optional 基本 Uri。
Returns:
给定相对 Uri 的绝对 Uri。
Example:
//absolute Uri will be "https://test.com/awesome.png";
var absoluteUri = SuperMap3D.getAbsoluteUri('awesome.png', 'https://test.com');