ol-rotate-feature
ol-rotate-feature copied to clipboard
how to rotate a Icon?
const point = new Feature({ name: 'point', geometry: new Point([2384267.0573564973, 7557371.884852641]) }) point.setStyle([ new Style({ image: new Icon({ size: [112, 30], // 尺寸 src: zhuchi // 图片url // scale: 0.1 // 缩放比例 }) }) ])