Hi, I received this warning on my old app, how do I resolve it if my usage is like this?
func drawCallout(_ feature: AGSFeature) {
let e: AGSEnvelope = (feature.geometry?.extent)!
let p: AGSPoint = e.center
let pointSymbol: AGSMultilayerPointSymbol = (feature.featureTable?.featureLayer?.renderer?.symbol(for: feature)) as! AGSMultilayerPointSymbol
var screenPoint: CGPoint = (self.mapView as! AGSMapView).location(toScreen: p)
screenPoint.y -= pointSymbol.size/2
let newp: AGSPoint = (self.mapView as! AGSMapView).screen(toLocation: screenPoint)
(self.mapView as! AGSMapView).callout.show(for: feature, tapLocation: newp, animated: true)
}
I cant see the renderer completion for the new 'layer' instead of 'featureLayer'.
Thanks!