maps_adapter_google_maps 0.2.4 copy "maps_adapter_google_maps: ^0.2.4" to clipboard
maps_adapter_google_maps: ^0.2.4 copied to clipboard

discontinued

An adapter between 'package:maps' and 'google_maps_flutter'.

Pub Package Github Actions CI

Overview #

This is a Google Maps Android/iOS SDK adapter for the package maps.

Getting started #

1.Add dependency #

In pubspec.yaml, you should have:

dependencies:
  maps_adapter_google_maps: ^0.2.3

2.Modify configuration files #

For Android support, you need to modify android/app/src/main/AndroidManifest.xml.

For iOS support, you need to modify:

  • ios/Runner/AppDelegate.m (if your Flutter project uses Objective-C)
  • ios/Runner/AppDelegate.swift (if your Flutter project uses Switf)

You also need to ensure that ios/Runner/Info.plist has something like:

	<key>io.flutter.embedded_views_preview</key>
	<true/>
	<key>Privacy - Location When In Use Usage Description</key>
	<string>A description of your privacy policy.</string>

3.Set map adapter #

In your main function:

import 'package:maps/maps.dart';
import 'package:maps_adapter_google_maps';

void main() {
  MapAdapter.defaultInstance = const GoogleMapsNativeAdapter();

  // ...
}

Contributing? #

Test changes manually with the example application in the repository.

2
likes
30
pub points
21%
popularity

Publisher

unverified uploader

An adapter between 'package:maps' and 'google_maps_flutter'.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter, google_maps_flutter, maps

More

Packages that depend on maps_adapter_google_maps