A Positioning technology switch algorithm for ubiquitous pedestrian navigation systems