amap_location_fluttify 0.2.3+9922976 amap_location_fluttify: ^0.2.3+9922976 copied to clipboard
An `Amap` location component, based on `fluttify` engine.
高德 定位
组件 #
Dart接口基于fluttify引擎生成. dartdoc接口文档.
安装:
dependencies:
flutter:
sdk: flutter
amap_location_fluttify: ^x.x.x
导入:
import 'package:amap_location_fluttify/amap_location_fluttify.dart';
使用:
if (await requestPermission()) {
AmapLocation.startLocation(
once: true,
locationChanged: (location) {
_location = location;
setState(() {});
},
);
}
请作者喝杯奶茶 #
LICENSE #
Copyright 2019 yohom
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.