Post

Replies

Boosts

Views

Activity

Reply to Drawing MKPolylines on map make app unresponsive. Anybody else have this problem ?
I'm posting this workaround that we found and implemented in our project. The work around for us until apple fixes the issue is after the call to .addOverlay of the polylines we do (our map is on .standard normally): mapView.mapType = MKMapType.hybrid mapView.mapType = MKMapType.standard The switch is not perceivable, but makes the map flicker a little, but more importantly it seems it clears the app cache and stops the whole map and app from freezing. See source: https://stackoverflow.com/questions/69248520/vkdefault-triangulator-failed-to-fully-triangulate-polygon-mapkit For the beefier numbers of polylines we had to reduce the number being added as even with the workaround some big numbers were still creating freezes.
Nov ’22