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

Check existence of "ol.ext" before initializing "ol.ext.input" and "ol.ext.imageLoader" #856

Merged

Conversation

sanak
Copy link
Contributor

@sanak sanak commented Sep 18, 2022

@Viglino, @Siedlerchr
Related with Siedlerchr/types-ol-ext#96, checking existence of ol.ext before initializing ol.ext.input seems to be necessary for types-ol-ext example, so I added further checks by referring other similar part (https://github.com/Viglino/ol-ext/search?q=window.ol).

Also, I noticed that ol.ext.imageLoader is similar with ol.ext.input, so I fixed it also.

@Viglino Viglino merged commit ad1012d into Viglino:master Sep 19, 2022
@sanak sanak deleted the fix/check-ol-ext-input-and-imageloader branch September 30, 2023 03:17
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.

2 participants