-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js.map
1 lines (1 loc) · 2.62 KB
/
index.js.map
1
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/@ionic-native/plugins/baidumaploc/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAWA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;IAiCvC,+BAAiB;;;;IAEhD;;;OAGG;;;;;IAEH,wCAAkB;;;;;QAChB,MAAM,CAAC;KACR;;gBAVF,UAAU;;;QAOR,OAAO,EAAE;;;;yDAGT;;;;;;;;;;;;;;;;;;;;;;IATU,WAAW;QAVvB,MAAM,CAAC;YACN,UAAU,EAAE,aAAa;YACzB,MAAM,EAAE,iCAAiC;;YACzC,SAAS,EAAE,mBAAmB;;YAC9B,IAAI,EAAE,0DAA0D;;YAChE,OAAO,EAAE,0HAA0H;;YACnI,gBAAgB,EAAE,CAAC,aAAa,EAAE,SAAS,CAAC;;YAC5C,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,CAAC;SAC9B,CAAC;OAEW,WAAW,EAWvB;sBAxDD;EA6CiC,iBAAiB;SAArC,WAAW","sourcesContent":["/**\n * This is a template for new plugin wrappers\n *\n * TODO:\n * - Add/Change information below\n * - Document usage (importing, executing main functionality)\n * - Remove any imports that you are not using\n * - Remove all the comments included in this template, EXCEPT the @Plugin wrapper docs and any other docs you added\n * - Remove this note\n *\n */\nimport { Injectable } from '@angular/core';\nimport { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';\n\n/**\n * @name baidumaploc\n * @description\n * This plugin does something\n *\n * @usage\n * ```typescript\n * import { baidumaploc } from '@ionic-native/baidumaploc';\n *\n *\n * constructor(private baidumaploc: baidumaploc) { }\n *\n * ...\n *\n *\n * this.baidumaploc.functionName('Hello', 123)\n * .then((res: any) => console.log(res))\n * .catch((error: any) => console.error(error));\n *\n * ```\n */\n@Plugin({\n pluginName: 'BaiduMapLoc',\n plugin: 'cordova-plugin-baidumaplocation', // npm package name, example: cordova-plugin-camera\n pluginRef: 'baidumap_location', // the variable reference to call the plugin, example: navigator.geolocation\n repo: 'https://github.com/aruis/cordova-plugin-baidumaplocation', // the github repository URL for the plugin\n install: 'cordova plugin add cordova-plugin-baidumaplocation --variable ANDROID_KEY=API_KEY_ANDROID --variable IOS_KEY=API_KEY_IOS', // OPTIONAL install command, in case the plugin requires variables\n installVariables: ['ANDROID_KEY', 'IOS_KEY'], // OPTIONAL the plugin requires variables\n platforms: ['Android', 'iOS'] // Array of platforms supported, example: ['Android', 'iOS']\n})\n@Injectable()\nexport class BaiduMapLoc extends IonicNativePlugin {\n\n /**\n * This function get current position\n * @return {Promise<any>} Returns a promise\n */\n @Cordova()\n getCurrentPosition(): Promise<any> {\n return; // We add return; here to avoid any IDE / Compiler errors\n }\n\n}\n"]}