Skip to content

liemvu/google_maps_embed_flutter

Repository files navigation

google_maps_embed_flutter

This is a Flutter plugin for embedding Google Maps in Flutter applications.

Getting Started

To use this plugin, add google_maps_embed_flutter as a dependency in your pubspec.yaml file.

Features

  • Support map modes: place, view, directions, streetview, search.

Usage

Generate API Key from Google Cloud Platform.

Here's a basic example of how to use the google_maps_embed_flutter plugin.

import 'package:google_maps_embed_flutter/google_maps_embed_flutter.dart';

EmbedGoogleMap(
    parameters: PlaceParameters(
        key: kEmbedMapApiKey,
        q: Place.address(
            "1600 Amphitheatre Parkway, Mountain View, CA 94043, United States")),
    );