首页 > 解决方案 > 如何使用 TypeScript 在 Heremap 中使圆圈可拖动?

问题描述

这是我要转换为 typeScript 的代码,它说 newCircle 不包含 drggable 事件。

const newCircle = new H.map.Circle({ ...coords }, radius, { style: { fillColor: "rgba(212, 92, 91, 0.2)", lineWidth: 0 } }); newCircle.draggable = true;

标签: typescriptheremaps

解决方案


推荐阅读