-
Notifications
You must be signed in to change notification settings - Fork 131
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
Issue with OL 6.1.1 #59
Comments
@slarosa Will be fixed in the next version |
@slarosa Try v1.0.0-alpha.3 |
@sakitam-fdd thanks. It seems is not enough to change version to the source of the script tag. I done it but it has not worked. Anyway, I tried the following different way:
but i get Also it throws the error:
Any hint? Thank you. |
@slarosa There are some changes to the API for the new version,Here are some minimal examples https://codesandbox.io/s/map-ol-wind-2vc8v. |
Use custom build-legacy build ol packages, Here's a simple example https://codepen.io/sakitam-fdd/pen/NWGOBoj |
Thank you for your help @sakitam-fdd . It now is working well. So I don't know why before it was not working.
However, I now have another problem but it concerns another topic so I will open a new issue for it. Thanks much for the amazing job |
@slarosa For the previous error, you can use codepen or codesandbox to give me a simple example, I will check it out tomorrow |
@sakitam-fdd here a simple example which shows the previous error. https://codepen.io/slarosa/pen/yLYQzad If the javascript source links to |
@slarosa For this question, you may be interested in external and globals of rollup. You can see some code in:
with official OL6 library, For example, add /**
* Resets the given transform to an identity transform.
* @param {!Transform} transform Transform.
* @return {!Transform} Transform.
* @api
*/
export function reset(transform) {
return set(transform, 1, 0, 0, 1, 0, 0);
} |
@sakitam-fdd thank you so much for the exhaustive explanation. |
Hi, I am trying to add wind layer to my map by using the following example:
I add in my the script:
and then I add layer definition in my main index.js:
The "wind" layer is not displayed and I see the following log error:
I also tried to add
opacity
option but I get the same error.Any hint to get it working?
Thank you.
The text was updated successfully, but these errors were encountered: