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

discontinued
outdated

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.1.0

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
0
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, google_maps_flutter, maps

More

Packages that depend on maps_adapter_google_maps