9. MapKit with SwiftUI - Routes and Directions

Опубликовано: 07 Апрель 2024
на канале: Stewart Lynch
2,111
84

This is the 9th video in the MapKit with SwiftUI and SwiftData series. In this video you will be shown how you can display a route between your current location and one of your selected placemarks. The route can be either by automobile or by walking. In addition, you will see how you can provide step by step directions.

if you want to support my work, you can buy me a coffee :)
https://ko-fi.com/stewartlynch

******* Download my StewartLynch YouTube Channel Application - Free **********
https://stewartlynch.gumroad.com/l/obsjz

Table of Contents:
0:00 Introduction
2:54 ShowRoute Button
4:22 FetchRoute Function
8:09 Displaying a route
14:20 Choose Driving or Walking
22:38 Step by Step Directions

Starter Project Branch:
https://github.com/StewartLynch/MyTri...

Completed Branch:
https://github.com/StewartLynch/MyTri...

Gist with Distance string conversion method:
https://gist.github.com/StewartLynch/...

Trailing Closures Video
   • Understanding Swift Trailing Closure ...  

MapKit Series Playlist
   • MapKit  

Other Recommended Resources:
RocketSim - Build Apps Faster
https://gumroad.com/a/122988499/ftvbh

BigMountain Studio Books
SwiftData Mastery in SwiftUI
https://www.bigmountainstudio.com/swi...
SwiftUI Views Mastery
https://www.bigmountainstudio.com/vie...
SwiftUI 5 Book Bundle
https://www.bigmountainstudio.com/boo...
Combine Mastery in SwiftUI
https://www.bigmountainstudio.com/com...
Core Data Mastery in SwiftUI
https://www.bigmountainstudio.com/cor...
SwiftUI Animations Mastery
https://www.bigmountainstudio.com/ani...

AppCoda Books
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit)
https://gumroad.com/a/646790611/WihuX
Beginning iOS 16 Programming with Swift (SwiftUI + UIKit) - Starter
https://gumroad.com/a/646790611/mOzKq
Mastering SwiftUI 4 + Swift Programming for iOS 16 - Professional
https://gumroad.com/a/646790611/gjPBw
Mastering SwiftUI 4 - Starter
https://gumroad.com/a/646790611/TyNEz

Other References:
Stewart Lynch's YouTube Channel:
   / @stewartlynch  
Stewart Lynch on Mastodon:
https://iosdev.space/@StewartLynch
Stewart Lynch On Threads:
@StewartLynch
Stewart Lynch on X:
https://x.com/StewartLynch
Stewart Lynch on LinkedIn
  / stewartlynch