Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdecker-mobilecomputing/ionic_geografischeentfernung
Ionic app to demonstrate use of a plugin to retrieve current geographic location.
https://github.com/mdecker-mobilecomputing/ionic_geografischeentfernung
ionic plugin
Last synced: 5 days ago
JSON representation
Ionic app to demonstrate use of a plugin to retrieve current geographic location.
- Host: GitHub
- URL: https://github.com/mdecker-mobilecomputing/ionic_geografischeentfernung
- Owner: MDecker-MobileComputing
- License: bsd-3-clause
- Created: 2020-02-23T20:58:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-28T09:54:12.000Z (about 1 year ago)
- Last Synced: 2024-11-09T22:41:13.564Z (2 months ago)
- Topics: ionic, plugin
- Language: TypeScript
- Homepage:
- Size: 3.51 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Ionic-App "Entfernungsberechung" (Distance Calculation) #
Simple [Ionic](https://ionicframework.com) app that tries to obtain current (GPS) location
from device and the calculates the distance to a hard-coded coordinate.
----
## Plugin for locating ##
Add plugin [geolocation](https://ionicframework.com/docs/native/geolocation) for GPS locating:
````
ionic cordova plugin add cordova-plugin-geolocationnpm install @ionic-native/geolocation
````Add `Geolocation` to array `providers` in file [src/app/app.module.ts](src/app/app.module.ts).
----
## Stand-alone program for testing distance calculation ##
Stand-alone programm for test of distance calculation:
[DistanzZwischenZweiKoordinaten.js](DistanzZwischenZweiKoordinaten.js)````
node DistanzZwischenZweiKoordinaten.js
````
----
## Screenshots ##
![Screenshot 1](screenshot_1.png) ![Screenshot 2](screenshot_2.png)
----
## License ##
See the [LICENSE file](LICENSE.md) for license rights and limitations (BSD 3-Clause License)
for the files in this repository.