|
@@ -272,7 +272,7 @@ export function addTrajectory(data, id) {
|
|
|
}
|
|
|
|
|
|
//轨迹播放
|
|
|
-export function playTrajectory(id, speed = 60) {
|
|
|
+export function playTrajectory(id, speed = 60, markColor = 'red') {
|
|
|
invokeParams('ShowData', {
|
|
|
name: 'car_layer' + id,
|
|
|
mode: 'player',
|
|
@@ -316,7 +316,7 @@ export function playTrajectory(id, speed = 60) {
|
|
|
symbol: {
|
|
|
type: 'simple-marker',
|
|
|
size: 10,
|
|
|
- color: 'red',
|
|
|
+ color: markColor,
|
|
|
outline: {
|
|
|
width: 0.5,
|
|
|
color: 'white'
|
|
@@ -560,3 +560,5 @@ export function change3DTheme(is3D = false) {
|
|
|
type: is3D ? '3d' : '25d'
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+//地图切换
|