Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zzzzzhoukekkk opened this issue Jul 3, 2024 · 1 comment
Open

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

Zzzzzhoukekkk opened this issue Jul 3, 2024 · 1 comment

Comments

@Zzzzzhoukekkk
Copy link

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);
问题
辛苦帮忙看一下

@Zzzzzhoukekkk
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant