fixed crasher where gpsData.waypoints undefined

Could not call method 'map' of undefined