Post

Replies

Boosts

Views

Activity

Comment on are draggable markers possible?
I am aware, that I can use draggable markers in the UiView API and currently I am using the UIViewRepresentable like you to make use of it in a SwiftUI app. But I hoped that with the new MapKit API for SwiftUI announced at WWDC23 there is a way to have draggable markers natively supported in SwiftUI. Avoiding all the complex coding involved mixing SwiftUI and UIKit. But from the documentation and the responses here it seems like the markers a fixed in there position.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Comment on are draggable markers possible?
Unfortunately not. I thinking about having something like an edit mode, where I have the maker fixed at the map center during map movements or I'll stick with the UIKit version of MapKit and hope for iOS 18... or take a look at some of the third party map APIs
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23