1.0.23 • Published 8 years ago

com-amap-location v1.0.23

Weekly downloads
2
License
Apache 2.0
Repository
github
Last release
8 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

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago