app crashes when user location out of webmapview

398
0
06-22-2012 12:03 AM
Chrisvan_Aart
New Contributor
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?
0 Kudos
0 Replies