location_amap 0.2.1 copy "location_amap: ^0.2.1" to clipboard
location_amap: ^0.2.1 copied to clipboard

高德地图定位Flutter插件包.

amaplocation #

高德地图Flutter插件包,使用Java和OC开发.

Getting Started #

  • 1 设置各平台定位Key
Amaplocation.setApiKey("xxxx1", "xxx2");
Amaplocation amaplocation = Amaplocation();
// 定位参数:是否连续定位
AMapLocationOption option = AMapLocationOption(onceLocation: false);
// 监听定位回调
amaplocation.onLocationChanged().listen((event) {
   debugPrint('$event');
});
// 启动定位
amaplocation.startLocation();
// 设置定位参数
amaplocation.setLocationOption(option);
1
likes
30
pub points
16%
popularity

Publisher

unverified uploader

高德地图定位Flutter插件包.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on location_amap