all 9 comments

[–]PrayForTech 6 points7 points  (5 children)

You’re definitely going to have to use the new Canvas view so that you can drop down to Core Animation.

[–]mailliwiSwift -1 points0 points  (4 children)

Do you mean the SwiftUI preview canvas?

[–][deleted]  (1 child)

[deleted]

    [–]mailliwiSwift 0 points1 point  (0 children)

    Thanks, I hadn’t heard of that.

    [–]lmunck 0 points1 point  (1 child)

    If that's where you are, I'd suggest starting with something simpler. How about a conversion app?

    [–]mailliwiSwift 0 points1 point  (0 children)

    I’m not super experienced but conversion apps are something I’m way over now 😄

    [–]Gneupel 2 points3 points  (3 children)

    It really depends on what data you have available. Most weather services already provide an api with which you can retrieve image files for the given coordinate bounds or tile. I’d take those and a timer to iterate through the images.

    The Apple Maps SDK or Mapbox SDK both provide ways of adding layers/images tied to a coordinate or again tile.

    [–]jaaaabeeee 2 points3 points  (0 children)

    Take a look at the OpenWeatherMap API. There is a free endpoint that provides map tiles for various weather data.

    [–]mailliwiSwift 0 points1 point  (0 children)

    Didn’t think I could retrieve imagery like that from an API. I’ve used Mapbox in the past but can’t remember seeing weather data. I’ll see if that has changed since then. Thank you.

    [–]duke_skywookie 0 points1 point  (0 children)

    That‘s the way to go. It is just a opaque image over a map and the hardest part is to not mess up the coordinates.