您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2 行
1.2KB

  1. import{_ as r}from"./index.42d3781f.js";import{r as u,o as i,f as g,g as p,c as f,e as l,b as d,w as e,h as a}from"./index.551f5afa.js";import"./locationTransform.e2d22cb6.js";const m=a("\u5F00\u59CB"),h=a("\u6682\u505C"),k=a("\u7ED3\u675F"),V={__name:"index",setup(v){const o=[{lng:116.26802,lat:39.90623},{lng:116.28896,lat:39.90622},{lng:116.30421,lat:39.90625},{lng:116.3155,lat:39.90618},{lng:116.3313,lat:39.90611},{lng:116.34643,lat:39.90583},{lng:116.35033,lat:39.90582},{lng:116.36784,lat:39.90579},{lng:116.36755,lat:39.91449},{lng:116.36755,lat:39.91449},{lng:116.36673,lat:39.93235},{lng:116.36651,lat:39.93924},{lng:116.36172,lat:39.93923},{lng:116.34936,lat:39.93913},{lng:116.33292,lat:39.93697},{lng:116.31955,lat:39.931}],t=u(null);i(()=>{console.log(o),console.log(t.value.initTrack(o))});function s(){t.value.stop()}function c(){t.value.start()}function _(){t.value.pause()}return(x,C)=>{const n=g("el-button");return p(),f("div",null,[l(r,{ref_key:"map",ref:t,style:{height:"400px"}},null,512),d("div",null,[l(n,{onClick:c},{default:e(()=>[m]),_:1}),l(n,{onClick:_},{default:e(()=>[h]),_:1}),l(n,{onClick:s},{default:e(()=>[k]),_:1})])])}}};export{V as default};