amap_map_fluttify 0.2.3+61475ac
amap_map_fluttify: ^0.2.3+61475ac copied to clipboard

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.

23
likes
65
pub points
84%
popularity

Publisher

fluttify.com

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

amap_core_fluttify, flutter, foundation_fluttify

More

Packages that depend on amap_map_fluttify