vue-tianditu2
Version:
20 lines (19 loc) • 470 B
JavaScript
import { toLngLats as y } from "../../../utils/converter.mjs";
function u(n, t, a) {
const { interval: s, speed: o, dynamicLine: r, Datas: i, carstyle: p, polylinestyle: c } = n;
return new T.CarTrack(a, {
interval: s,
speed: o,
dynamicLine: r,
Datas: y(i),
carstyle: p,
polylinestyle: c,
passOneNode: (e, l, d) => {
t("passOneNode", [e.lng, e.lat], l, d);
}
});
}
export {
u as useInit
};
//# sourceMappingURL=init.mjs.map