Addition: Somehow my code for ap..component.html didnt make it into the post so here is the code as image:

Best posts made by incuubus
-
RE: How to use windy in Angular
-
How to use windy in Angular
Hi there,
I'm trying to implement the windy map into an Angular IO app but i can't really figure out how to do it. I tried to adjust the "Hello World" tutorial (https://api4.windy.com/examples/hello-world/) so it would work for Angular.
This is what my code looks like:
app.component.html:<div></div>app.component.css
#windy { width: 100%; height: 300px; }I can't figure out how the app.component.ts should look like. How can I use this windyInit function? Do I have to write it by myself?
It would be great if someone could show me an example implementation of a windy map in Angular IO. I'm quite new to programming javascrip, html etc. sothis would be a great help.
thanks in advance,
David
Latest posts made by incuubus
-
RE: Windy menu not visible in Angular.IO
Ok, allready found an answer. There is sth wrong with the leaflet.css file. You have to just delete the leaflet.css library link in your code:
https://community.windy.com/topic/8245/finally-windy-api-with-leaflet-1-4/2 -
Windy menu not visible in Angular.IO
Hey everyone,
I implemented windy in an Angular-App and I can see the map with the weather. But the menu of windy (and the icon) is somehow in the background of the map. I can still click them and they do their job. I've put a picture here where you can see it:

-
RE: How to use windy in Angular
Addition: Somehow my code for ap..component.html didnt make it into the post so here is the code as image:

-
How to use windy in Angular
Hi there,
I'm trying to implement the windy map into an Angular IO app but i can't really figure out how to do it. I tried to adjust the "Hello World" tutorial (https://api4.windy.com/examples/hello-world/) so it would work for Angular.
This is what my code looks like:
app.component.html:<div></div>app.component.css
#windy { width: 100%; height: 300px; }I can't figure out how the app.component.ts should look like. How can I use this windyInit function? Do I have to write it by myself?
It would be great if someone could show me an example implementation of a windy map in Angular IO. I'm quite new to programming javascrip, html etc. sothis would be a great help.
thanks in advance,
David