Refine GPS trace cleanup and marker rendering
This commit is contained in:
@@ -31,7 +31,7 @@ type MapPageData = MapEngineViewState & {
|
||||
showRightButtonGroups: boolean
|
||||
showBottomDebugButton: boolean
|
||||
}
|
||||
const INTERNAL_BUILD_VERSION = 'map-build-172'
|
||||
const INTERNAL_BUILD_VERSION = 'map-build-175'
|
||||
const REMOTE_GAME_CONFIG_URL = 'https://oss-mbh5.colormaprun.com/wxmini/test/game.json'
|
||||
let mapEngine: MapEngine | null = null
|
||||
function buildSideButtonVisibility(mode: SideButtonMode) {
|
||||
@@ -525,6 +525,12 @@ Page({
|
||||
}
|
||||
},
|
||||
|
||||
handleClearMapTestArtifacts() {
|
||||
if (mapEngine) {
|
||||
mapEngine.handleClearMapTestArtifacts()
|
||||
}
|
||||
},
|
||||
|
||||
handleOverlayTouch() {},
|
||||
|
||||
handlePunchAction() {
|
||||
|
||||
@@ -274,6 +274,9 @@
|
||||
<view class="control-chip control-chip--primary" bindtap="handleRecenter">回到首屏</view>
|
||||
<view class="control-chip control-chip--secondary" bindtap="handleRotationReset">旋转归零</view>
|
||||
</view>
|
||||
<view class="control-row">
|
||||
<view class="control-chip control-chip--secondary" bindtap="handleClearMapTestArtifacts">清空测试痕迹</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="debug-section">
|
||||
|
||||
Reference in New Issue
Block a user