Experimental smartphone app for touchless map control (zoom&move via accelerometer)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hooks
releases
resources
scss
videos
www
.gitignore
README.md
bower.json
config.xml
gulpfile.js
ionic.project
package.json

README.md

TouchlessMap Smartphone App

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.

Usage

  • 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

Move Map

Tilt your smartphone to move map in X and Y axis.

Zoom In

Move the smartphone towards yourself and back to zoom in one level.

Zoom Out

Move the smartphone away from you (towards ground) and back to starting position to zoom out.

Return to Your Current Location and Reset Zoom

Shake your smartphone to return to location provided by your phone and change zoom level to initial value.

Known Issues

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).

How to Modify the Application and Contribute

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.

Credits

License

MIT