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

outdated

An `Amap` map component, based on `fluttify` engine.

高德 地图组件 #

pub package Codemagic build status

Dart接口基于fluttify引擎生成. dartdoc接口文档.

安装:

dependencies:
  flutter:
    sdk: flutter
  amap_map_fluttify: ^x.x.x

导入:

import 'package:amap_map_fluttify/amap_map_fluttify.dart';

使用:

class AmapWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return AmapView(
      onMapCreated: (controller) async {
        if (await requestPermission()) {
          await controller.showMyLocation(true);
        }
      },
    );
  }
}

请作者喝杯奶茶 #

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.

30
likes
0
pub points
84%
popularity

Publisher

verified publisherfluttify.com

An `Amap` map component, based on `fluttify` engine.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

amap_core_fluttify, flutter

More

Packages that depend on amap_map_fluttify