Commit 91fb26c2 by niuxiaolin

latest ui 08/09/2019 13:57:00

parent a9e24c89
......@@ -292,10 +292,11 @@ export class MainComponent implements OnInit {
timer(0, 200)
.pipe(timeInterval(), pluck('interval'), take(dur)).subscribe((index:any)=>{
this.map.centerAndZoom(view.center,orginZoom+1);
// this.m.dispatchWheelEvent_Chrome(document.getElementById("baidu-map"),10);
}
);
this.map.centerAndZoom(view.center,view.zoom);
// setTimeout(() => {
// this.m.dispatchWheelEvent_Chrome(document.getElementById("baidu-map"),50);
// this.map.centerAndZoom(view.center,view.zoom);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment