feat: fix gps map projection and update map config
This commit is contained in:
@@ -5,8 +5,8 @@ type MapPageData = MapEngineViewState & {
|
||||
showDebugPanel: boolean
|
||||
}
|
||||
|
||||
const INTERNAL_BUILD_VERSION = 'map-build-88'
|
||||
const REMOTE_GAME_CONFIG_URL = 'https://oss-mbh5.colormaprun.com/wxmini/test/qyds-001/game.json'
|
||||
const INTERNAL_BUILD_VERSION = 'map-build-99'
|
||||
const REMOTE_GAME_CONFIG_URL = 'https://oss-mbh5.colormaprun.com/wxmini/test/game.json'
|
||||
|
||||
let mapEngine: MapEngine | null = null
|
||||
|
||||
@@ -201,6 +201,12 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
handleToggleOsmReference() {
|
||||
if (mapEngine) {
|
||||
mapEngine.handleToggleOsmReference()
|
||||
}
|
||||
},
|
||||
|
||||
handleToggleDebugPanel() {
|
||||
this.setData({
|
||||
showDebugPanel: !this.data.showDebugPanel,
|
||||
@@ -240,5 +246,6 @@ Page({
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user