* @private * @function WebMap.prototype.getProxy * @description 获取代理地址 * @returns {Promise } 代理地址
(type)
| 4466 | * @returns {Promise<T | never>} 代理地址 |
| 4467 | */ |
| 4468 | getProxy(type) { |
| 4469 | if (!type) { |
| 4470 | type = 'json'; |
| 4471 | } |
| 4472 | return this.proxy || this.server + `apps/viewer/getUrlResource.${type}?url=`; |
| 4473 | } |
| 4474 | |
| 4475 | /** |
| 4476 | * @private |
no outgoing calls
no test coverage detected