小车动画支持调节速率
This commit is contained in:
parent
32f32a1b89
commit
d760aff6c5
@ -187,7 +187,9 @@ function stop(){
|
||||
stopAnimation(map,data,view)
|
||||
}
|
||||
function play(item){
|
||||
if(view.animating !== item.value){
|
||||
stop()
|
||||
}
|
||||
console.log(item,view.lines,data.polylines)
|
||||
options.showLines = [item.value]
|
||||
changeShowLines()
|
||||
@ -461,6 +463,7 @@ function drawMap(autoSelect=false){
|
||||
|
||||
function search() {
|
||||
console.log(date.value)
|
||||
view.animating = -1
|
||||
let params = {
|
||||
startTime: !date.value.from ? undefined : moment(date.value.from).format("YYYY-MM-DD HH:mm:ss"),
|
||||
endTime: !date.value.to ? undefined : moment(date.value.to).format("YYYY-MM-DD HH:mm:ss"),
|
||||
|
Loading…
Reference in New Issue
Block a user