Relative Content

Tag Archive for swiftuiuikitmapkit

Combing SwiftUI and UIKit to add clustering to existing SwiftUI app using Mapkit

We are building a travel app and have a page with locations (about 1000) mapped using SwiftUI mostly with the latest iOS17 Mapkit code. However, our knowledge is only based in SwiftUI which currently has no native clustering abilities so we need to use UIKit to be able to add the standard iOS clustering. We have a very rough working version in UIKit but it involved changing a ton of the layout code over (which we wanted to avoid) but that may be due to us not knowing enough about how to integrate the two platforms.

Combing SwiftUI and UIKit to add clustering to existing SwiftUI app using Mapkit

We are building a travel app and have a page with locations (about 1000) mapped using SwiftUI mostly with the latest iOS17 Mapkit code. However, our knowledge is only based in SwiftUI which currently has no native clustering abilities so we need to use UIKit to be able to add the standard iOS clustering. We have a very rough working version in UIKit but it involved changing a ton of the layout code over (which we wanted to avoid) but that may be due to us not knowing enough about how to integrate the two platforms.