Skip to content

绘制polyline时,存在没有连线的点 #83

@Zzzzzhoukekkk

Description

@Zzzzzhoukekkk

map.addOverlay(new BMapGL.Marker(new BMapGL.Point(116.40432315282534,39.89288042490572)))
map.addOverlay(new BMapGL.Marker(new BMapGL.Point(116.40419509683154,39.89287689968862)))
map.addOverlay(new BMapGL.Marker(new BMapGL.Point(116.4047079608473, 39.89288400949964)))
// 绘制线
var polyline = new BMapGL.Polyline([
new BMapGL.Point(116.40432315282534,39.89288042490572),
new BMapGL.Point(116.40419509683154,39.89287689968862),
new BMapGL.Point(116.4047079608473, 39.89288400949964)
], {
strokeStyle: 'dashed',
strokeColor: 'blue',
strokeTexture: {
url: 'https://mapopen-pub-jsapigl.bj.bcebos.com/svgmodel/Icon_road_blue_arrow.png',
width: 16,
height: 64
},
strokeWeight: 8,
strokeOpacity: 0.8,
node: node
});
map.addOverlay(polyline);
问题
辛苦帮忙看一下

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions