FlightAirMap icon indicating copy to clipboard operation
FlightAirMap copied to clipboard

Problem with the weather layers

Open kferrano opened this issue 7 years ago • 19 comments

How can I fix the problem

Picture

kferrano avatar May 28 '17 14:05 kferrano

openweathermap seems to need an account now... I will use an other source if I found one, else I will migrate to openweathermap API.

Ysurac avatar May 28 '17 17:05 Ysurac

You could try "Ventusky" i dont know if they opensourced there api yet.

MrDalle avatar May 28 '17 17:05 MrDalle

Ventusky is not opensource and not a WMS source. So I can't use it even if it is really good looking.

Ysurac avatar May 28 '17 17:05 Ysurac

I added support for OpenWeatherMap API in latest commit.

Ysurac avatar May 28 '17 17:05 Ysurac

Would the free API range in the theory?

kferrano avatar May 28 '17 19:05 kferrano

Free and Paid API are the same, only calls by minutes are limited.

Ysurac avatar May 28 '17 19:05 Ysurac

With calls are certainly the views of the page or the layers or?

kferrano avatar May 28 '17 19:05 kferrano

I think it's the number of time the API is contacted.

Ysurac avatar May 28 '17 19:05 Ysurac

The API is only contacted if the layers has activated or?

kferrano avatar May 28 '17 19:05 kferrano

yes

Ysurac avatar May 28 '17 19:05 Ysurac

picture1 picture2 Images 1 and 2 are different layers, but they are the same

kferrano avatar May 28 '17 20:05 kferrano

Yes they seems to be the same now.

Ysurac avatar May 28 '17 20:05 Ysurac

And if I disable the layers, they still stay on the map and reapply the API.

kferrano avatar May 28 '17 20:05 kferrano

Fixed in latest commit

Ysurac avatar May 28 '17 21:05 Ysurac

picture Can it be that each file responds to the API?

kferrano avatar May 28 '17 21:05 kferrano

Each file is a call to the API, so if your zoom is far this call the API many times.

Ysurac avatar May 28 '17 21:05 Ysurac

So it would be better to get the Startup or Developer API?

kferrano avatar May 28 '17 21:05 kferrano

For openweathermap maybe. I didn't make any tests yet. I would like to find a free source.

Ysurac avatar May 28 '17 21:05 Ysurac

A free possibility would of course be best, but I've also just looked for free API's but I've only found Trial version

kferrano avatar May 28 '17 21:05 kferrano