-
Notifications
You must be signed in to change notification settings - Fork 11
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
how to rotate a Icon? #27
Comments
Hello @easy868 , |
@ghettovoice Thank you for the demo |
hello @ghettovoice, When I rotate it multiple times, the page becomes sluggish and there is a memory overflow,could you help me? |
Hmm, I found that with a smaller icon (no need to scale it by the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
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 // 缩放比例
})
})
])
The text was updated successfully, but these errors were encountered: