Skip to content
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

Custom icon on print button #197

Closed
1Map opened this issue May 20, 2023 · 1 comment
Closed

Custom icon on print button #197

1Map opened this issue May 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@1Map
Copy link

1Map commented May 20, 2023

How can I have my own font awesome icon on the ol-control-printdialog and not the default icon?

Currently:

image

What I want:

image
@1Map 1Map added the bug Something isn't working label May 20, 2023
@d-koppenhagen
Copy link
Collaborator

@1Map this should work by setting the target attribute. See: https://viglino.github.io/ol-ext/doc/doc-pages/ol.control.PrintDialog.html

If it still doesn't work, please describe the problem in detail and provide a minimal reproduction playground using the following Stackblitz starter template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants