We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The style assigned to the drawing interaction should be applied to the interaction as well as the feature in the drawstart event.
It should also be possible to assign an image in the style param.
The text was updated successfully, but these errors were encountered:
The style param is now applied to the interaction itself as well as being set on the feature in the drawstart event.
It is now possible to assign an image style element in the style param for the draw interaction.
_xyz.mapview.interaction.draw.begin({ layer: layer, type: 'Point', style: { image: { svg: 'https://geolytix.github.io/MapIcons/pins/amber.svg', scale: 3, anchor: [0.5, 1] } }, callback: () => { layer.view.querySelector('.header').classList.remove('edited', 'secondary-colour-bg'); btn.classList.remove('active'); } });
1c116d0
Sorry, something went wrong.
dbauszus-glx
RobAndrewHurst
No branches or pull requests
The style assigned to the drawing interaction should be applied to the interaction as well as the feature in the drawstart event.
It should also be possible to assign an image in the style param.
The text was updated successfully, but these errors were encountered: