I am using the following code on my map but the subtitle does not show on the map and I am getting this message - for 0.00 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (0.00 sec). Does anyone see a problem with my logic or code? self.mapView.removeOverlays(self.mapView.overlays) let location = sender.location(in: self.mapView) let locCoord = self.mapView.convert(location, toCoordinateFrom: self.mapView) let annotation = MKPointAnnotation() annotation.coordinate = locCoord self.mapView.removeAnnotations(mapView.annotations) self.mapView.addAnnotation(annotation) addCircle(locCoord: locCoord) annotation.title = Bank Angle (angle)° annotation.subtitle = Aircraft } // MARK: Circle overlay. func addCircle(locCoord: CLLocationCoordinate2D) { self.mapView.delegate = self let circle = MKCircle(center: locCoord, radius: distanceInMeters as CLLocationDistance) self.mapView.add(circle) }
1
0
856