Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的地图标记是可爱的小飞机,我希望能够确定它们的方向吗?如果有办法在不创建多个图像的情况下以编程方式执行此操作?
您可以使用 CSS3:
transform: rotate(<angle>deg);
或者
<element>.style.transform = "rotate(<angle>deg)";