@totvs/mingle-ionic-geolocation

1.0.0-20190522.1 • Public • Published

@TOTVS/MINGLE-IONIC-GEOLOCATION

This Package get informations about the device.

Installation

Using npm: $ npm install --save @totvs/mingle-ionic-geolocation

// using ES6 modules
import { GeolocationPlugin } from @totvs/mingle-ionic-geolocation

// using CommonJS modules
var geolocation = require('@totvs/mingle-ionic-geolocation')

Usage

Create an instance of the GeolocationPlugin:

var geolocation = new GeolocationPlugin();

getCurrentPosition

This method is used to return the current coordinates (latitude and longitude) of the device.

this.geolocation.getCurrentPosition();

isLocationEnabled

This method is used to verify that the Location Service is enabled.

this.geolocation.isLocationEnabled();

Readme

Keywords

none

Package Sidebar

Install

npm i @totvs/mingle-ionic-geolocation

Weekly Downloads

0

Version

1.0.0-20190522.1

License

ISC

Unpacked Size

5.13 kB

Total Files

8

Last publish

Collaborators

  • jcorrea97
  • mingle.dev
  • rogerio.fialho
  • dev.totvs
  • felipecrescencio
  • nicoleoliveira
  • felipeconti
  • alexmmartins
  • danotto
  • mansano
  • rogeriorc
  • tvmatias
  • robson.dba
  • daniel.yampolschi
  • acandido
  • lwtnb.wrk
  • pouidev
  • alinelariguet
  • roger.steuernagel
  • totvstec-bot