google_map_fluttify 0.1.1 copy "google_map_fluttify: ^0.1.1" to clipboard
google_map_fluttify: ^0.1.1 copied to clipboard

An `Google Map` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.

Logo

GoogleMap Map Component Flutter Plugin #

pub package

依赖 #

dependencies:
  flutter:
    sdk: flutter
  google_map_fluttify: ^x.x.x

配置 #

Android #

  1. AndroidManifest.xml中配置key:
<meta-data
        android:name="com.google.android.gms.version"
        android:value="@integer/google_play_services_version" />
<meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxh4"/>

iOS #

  1. 使用地图需要使能UiKitView, 在Info.plist中添加:
<key>io.flutter.embedded_views_preview</key>
<string>YES</string>
  1. 定位需要声明权限, 在Info.plist中添加:
<key>NSLocationWhenInUseUsageDescription</key>
<string>需要定位权限</string>

导入 #

import 'package:google_map_fluttify/google_map_fluttify.dart';

使用 #

参考wiki.

LICENSE #

Copyright (C) 2020 yohom

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

1
likes
20
pub points
0%
popularity

Publisher

unverified uploader

An `Google Map` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

core_location_fluttify, flutter, foundation_fluttify, uni_map_platform_interface

More

Packages that depend on google_map_fluttify