Google map support for TCMPP Flutter Plugin

Google map support extension for TCMPP Flutter plugin. Provide map related API implementation for mini-program;

Getting Started

  1. Add dependency Open the pubspec.yaml file located inside the app folder, and add tcmpp_flutter_googlemap: ${version} under dependencies.
dependencies:

  ...

  tcmpp_flutter_googlemap: ^1.5.0

  ...
  1. Install dependency
  • From the terminal: Run flutter pub get.
  • From VS Code: Click Get Packages located in right side of the action ribbon at the top of pubspec.yaml indicated by the Download icon.
  • From Android Studio/IntelliJ: Click Pub get in the action ribbon at the top of pubspec.yaml.

For details how to add Flutter plugins or packages, see Use packages & plugins

  1. Add map API Key

Open and edit file android > app > src > main > AndroidManifest.xml, add meta-data tag and put your Google map API key here:

<application>
    ...
    <meta-data
        android:name="com.google.android.geo.API_KEY"
        android:value="(YOUR_API_KEY)" />
     ...
</application>