同时引入两个包,发现rotatedmarker设置角度发生了问题。
原理:
leaflet-polylinedecorator 旋转 x 度, leaflet-rotatedmarker 旋转另外 x 度,旋转了两次。
可以通过仅使用 leaflet-polylinedecorator 并从项目中删除 leaflet-rotatedmarker 包来修复。此包具有 rotatedmarker 的所有功能。
问题在这里:
https://github.com/bbecquet/Leaflet.PolylineDecorator/issues/94
9888

被折叠的 条评论
为什么被折叠?



