Skip to content

如何实现轨迹线上填充箭头;类似高德地图的导航线路;大佬们帮帮忙! #2763

@WALL-E-WEB

Description

@WALL-E-WEB

我通过以下几种方式实现,效果不理想,有好的方式吗;

  1. LIneString 中使用 markerLinePatternFile 没生效,这个是否已经实现呢,还是我用的不对;
  2. LineString 中 使用 markerFile 设置collision 没有碰撞检查;
  3. LineString 中 使用 linePatternFile 填充,会被裁剪,而且多了会卡;

现在我是通过 遍历场景 Marker 计算 每个marker的角度,VectorLayer 添加 collision 来实现的;
大家还有没有好的实现方式呢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions