I have a webview loaded in a mapview.
When starting the gps ( [self.mapView.gps start]; )
The app crashes with this message:
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'
Apparently this happens when the GPS signal is outside the view port of the map view.
How can I fix this?