Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

echart 做大屏地图,如何自定义一个带背景图的并且能和地图上坐标对应上的数据弹窗呢?

现在做了一个大屏的城市地图,需求是点击各个区县的时候,在坐标点
旁边显示一个自定义的数据弹窗,类似下图image
但是echart的 tooltip 又不支持背景图,如果用canvas画一个独立的
弹窗的话,又没有地图坐标点 相对应的 像素坐标,所以不知道画在什
么位置。希望各位大佬能给一个可行的思路,感谢!!!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

您实现了吗?是否可以分享下?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...