|
|
@ -818,10 +818,9 @@ function teardownRouteMap() { |
|
|
} |
|
|
} |
|
|
if (routeMapAttached) { |
|
|
if (routeMapAttached) { |
|
|
mapHelper.restoreMapContainer() |
|
|
mapHelper.restoreMapContainer() |
|
|
// 监控页默认 globe |
|
|
|
|
|
mapHelper.toggleMapMode({ is3D: true }) |
|
|
|
|
|
|
|
|
// 监控默认 globe + pitch 0;不要切 3D pitch 45 |
|
|
try { |
|
|
try { |
|
|
routeMapInstance?.easeTo?.({ pitch: 0, bearing: 0, duration: 0 }) |
|
|
|
|
|
|
|
|
mapHelper.getMap()?.setProjection?.('globe') |
|
|
} catch (_) { |
|
|
} catch (_) { |
|
|
/* ignore */ |
|
|
/* ignore */ |
|
|
} |
|
|
} |
|
|
|