Search docs/
Getting StartedPlugins

Gao De Location

Because the original GPS positioning uses Google Browser positioning, and Google withdraws from China, resulting in GPS Android positioning can not be positioned. Gaode location can directly return address informationGaode location can directly return address information

Stuck on a Cordova issue?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.

Contact Us Today!


npm install cordova-plugin-gaodelocation-chenyunpm install @ionic-native/gao-de-locationionic cap syncionic cordova plugin add cordova-plugin-gaodelocation-chenyunpm install @ionic-native/gao-de-location
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android
  • iOS



See here.


import { GaoDeLocation } from '@ionic-native/gao-de-location/ngx';

constructor(private gaoDeLocation: GaoDeLocation) { }

const positionOptions: PositionOptions = {
    androidOption: {
     locationMode: LocationModeEnum.Hight_Accuracy,
     gpsFirst: false,
      HttpTimeOut: 30000,
      interval: 2000,
      needAddress: true,
      onceLocation: false,
      onceLocationLatest: false,
      locationProtocol: LocationProtocolEnum.HTTP,
      sensorEnable: false,
      wifiScan: true,
      locationCacheEnable: true
    }, iosOption: {
      desiredAccuracy: DesiredAccuracyEnum.kCLLocationAccuracyBest,
      pausesLocationUpdatesAutomatically: 'YES',
      allowsBackgroundLocationUpdates: 'NO',
      locationTimeout: 10,
      reGeocodeTimeout: 5,
const positionRes: PositionRes = await this.gaoDeLocation.getCurrentPosition(positionOptions).catch((e: any) => {
  }) || null;

this.gaoDeLocation.startSerialLocation(positionOptions).subscribe((positionRes: PositionRes) => {

const positionRes: any = this.gaoDeLocation.stopSerialLocation().catch((e) => {
  }) || null;