摘要 |
A method and an electronic device enables warning in a wrong way driving of a vehicle navigation. The electronic device sets a target location for navigation and presets a determination distance for checking whether on a path of a navigation route. Then, the electronic device starts a direction module and an altitude module to detect a direction variation and an elevation variation of the electronic device to check whether on the path of a navigation route. If one of the results detected by the direction module and the altitude module is different to the information stored in the map, the electronic device issues a notification.
|