1.0.23 • Published 10 years ago

com-amap-location v1.0.23

Weekly downloads
2
License
Apache 2.0
Repository
github
Last release
10 years ago

com-amap-location

Description

this is a plugin get location info by use GaoDe Map API,it only used in china.

Installation

cordova plugin add com-amap-location

Properties

window.xunsoft.getCurrentPosition(success,fail);

callback function have a params

success callback params properties

#### locationType
#### latitude
#### longitude
#### accuracy
#### altitude
#### address
### country
#### province
#### city
#### district
#### street
#### locationDetail

fail callback params properties

#### code
#### message

example

window.xunsoft.getCurrentPosition(function(response){
		console.log(response.locationType);
		console.log(response.latitude);
		console.log(response.longitude);
	},function(response){
		console.log(response.code);
		console.log(response.message);
	})

Supported Platforms

  • Android
  • iOS
1.0.23

10 years ago

1.0.22

10 years ago

1.0.21

10 years ago

1.0.20

10 years ago

1.0.19

10 years ago

1.0.18

10 years ago

1.0.17

10 years ago

1.0.16

10 years ago

1.0.15

10 years ago

1.0.14

10 years ago

1.0.13

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago