Experimental smartphone app for touchless map control employing smartphone's accelerometer. Use case: move and zoom map on your smartphone while wearing gloves.
Get it on Google Play or download the latest apk from here.
- Touchless mode is disabled when smartphone is in vertical (upright) position
- Touchless mode is enabled when smartphone is in horizontal position
- Application will automatically lock screen orientation into portrait mode
Tilt your smartphone to move map in X and Y axis.
Move the smartphone towards yourself and back to zoom in one level.
Move the smartphone away from you (towards ground) and back to starting position to zoom out.
Shake your smartphone to return to location provided by your phone and change zoom level to initial value.
If the map is visible but not moving when smartphone is tilted, restart the app (stop app in Android app manager and start it again).
Feel free to suggest bugs, new features or adjustments to the existing user interface via Issues.
The smartphone app is written in Ionic framework in HTML and JS and can be compiled to run on many smartphone plaforms (iOS, MS, ..). I had the opportunity to test it only on Android, you are welcome to build it and try it on another platform.
You will need to install following cordova plugins into your ionic project:
- cordova-plugin-device-motion
- cordova-plugin-shake
- cordova-plugin-geolocation
- cordova-plugin-screen-orientation
If you have some code adjustments to share, use pull request.
- Šaňo
- Icons in logo provided by Freepik from www.flaticon.com are licensed under CC BY 3.0
MIT