# ionicgeolocationmodule

> This module allow you to use geolocation, easy to implement.

Latest version **1.0.0** (published 2019-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install ionicgeolocationmodule
pnpm add ionicgeolocationmodule
yarn add ionicgeolocationmodule
bun add ionicgeolocationmodule
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-08-08 |
| First published | 2019-08-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Kuldeep Sharma |
| Maintainers | kuldeepsharma |
| Keywords | ionicgeolocationmodule, ionic geolocation module, ionic 4 geolocation, ionic geolocation, geolocation, geolocation service, ionic 4 gelocation service |

## Links

- npm: https://www.npmjs.com/package/ionicgeolocationmodule
- Repository: https://github.com/melwinVincent/ionic4-star-rating
- Homepage: https://google.com
- Issues: https://github.com/melwinVincent/ionic4-star-rating/issues
- npm.io page: https://npm.io/package/ionicgeolocationmodule

## Recent versions

- 1.0.0 (latest) — 2019-08-08

## README

# Ionic4 ionicgeolocationmodule

This module allow you to use geolocation, easy to implement.  

# How to install
##Run commond 
    
    ionic cordova plugin add cordova-plugin-request-location-accuracy && npm install @ionic-native/location-accuracy && ionic cordova plugin add cordova-plugin-geolocation && npm install @ionic-native/geolocation && npm install ionicgeolocationmodule

# How to use
## Step 1 : import module 
import { GeolocationModule } from 'ionicgeolocationmodule';

imports : [ GeolocationModule ]

## Step 2 : Inject service and use it.
    import { GeolocationService } from 'ionicgeolocationmodule';

    constructor(private gs: GeolocationService) {}

    this.gs.locationRequest().then((location) => {
      alert(location.coords.longitude);
      alert(location.coords.latitude);
    }).catch((error) => {
      alert(JSON.stringify(error));
    });


## Contact
gmail : mrksphp@gmail.com

---
_Source: https://npm.io/package/ionicgeolocationmodule · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
