升级 SGS Map SDK 至 2.5.0
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-16 09:43:52 +08:00
parent 6db0b71562
commit 72885b7f54
23 changed files with 1274 additions and 61 deletions

View File

@@ -4,8 +4,9 @@ export type ConfiguredAudioLanguage = 'zh-CN' | 'yue-HK' | 'en-US'
const allowedModes = new Set<DataSourceMode>(['static', 'api', 'sdk'])
const allowedGuideContentModes = new Set<GuideContentDataSourceMode>(['static', 'remote', 'mock'])
const defaultSdkScriptUrl = '/static/sgs-map-sdk/index.global.js?v=2.4.1'
const defaultSgsEngineUrl = '/h5-sdk'
export const SGS_MAP_SDK_VERSION = '2.5.0'
const defaultSdkScriptUrl = `/static/sgs-map-sdk/index.global.js?v=${SGS_MAP_SDK_VERSION}`
const defaultSgsEngineUrl = '/engine/index.html'
const defaultSdkTimeoutMs = 5000
const defaultApiBaseUrl = '/app-api'
const defaultSgsMapId = '1'