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

Do not use non-API methods in example #14607

Merged
merged 1 commit into from Mar 25, 2023

Conversation

ahocevar
Copy link
Member

This pull request changes the icon-width example to only use API methods. Icon#setWidth() and Icon.setHeight() are not API methods.

On a related note, I feel like this example falls more under the category "test" than "example", and would be a candidate for removal. What do others think?

@tschaub
Copy link
Member

tschaub commented Mar 25, 2023

I also agree it could be removed.

@github-actions
Copy link

📦 Preview the website for this branch here: https://deploy-preview-14607--ol-site.netlify.app/.

@ahocevar ahocevar merged commit 7613ce5 into openlayers:main Mar 25, 2023
8 checks passed
@ahocevar ahocevar deleted the icon-width-api branch March 25, 2023 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants