typescript - 如何使用 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;
解决方案
推荐阅读
- sql - 历史表的数据库设计
- java - Hibernate JPA 持久化后 - 记录不在数据库中
- c# - 如何更改 IControllerFactory 中的 Url
- php - 如何使用我从另一个 php 中的表单获得的值
- visual-studio - 使用 Visual Studio 2015 项目中的 .Net Standard NuGet 包时出错
- python - Groupby + Transpose 列以特定字符串开头
- android - 如何在 RecyclerView 中制作反应项目?
- c# - 在 DOTween 中为同一对象启动另一个动画时的“中断”回调
- angular - 服务错误未在 component.ts 中捕获
- lua - 尝试索引 nil 值时出错 (upvalue "cfg)