Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Working With Google Maps in Flutter

Working With Google Maps in Flutter

A 25-min talk introducing attendees on how to work with Google Maps in Flutter. Presented at GDG Ibadan DevFestSW 2019 Conference.

Avatar for Ogundiran Al-Ameen

Ogundiran Al-Ameen

November 09, 2019
Tweet

Other Decks in Technology

Transcript

  1. What is FLUTTER? Flutter is Google’s UI toolkit for building

    beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. - According to the Flutter team :) This talk will revolve focus on Android and iOS platforms using Flutter
  2. What is Flutter REALLY? - According to the Me :)

    - Quick back story, A brief intro to flutter
  3. What is Flutter REALLY? - According to the Me :)

    - Quick back story, A brief intro to flutter - Why did I choose Flutter
  4. What is Flutter REALLY? - According to the Me :)

    - Quick back story, A brief intro to flutter - Why did I choose Flutter - First impression (Nested widgets all written in Dart)
  5. What is Flutter REALLY? - According to the Me :)

    - Quick back story, A brief intro to flutter - Why did I choose Flutter - First impression (Nested widgets all written in Dart) - Final Impression (This is awesome!)
  6. Why Choose Flutter Flutter really comes with a lot of

    Advantage but as with all tools, you just want to use what is right for you. - Start a new app from scratch - Bring your existing app to the other platform - Use Flutter for a part of your app
  7. google maps overview - It offers satellite imagery, - Aerial

    photography, - Street maps, 360° panoramic views of streets, - Real-time traffic conditions, - Route planning for traveling by foot, car, bicycle and air, or public transportation. Now “Danfo” and “Molue” - Gaming
  8. Google maps in the street This is Google maps in

    the street and I don’t mean Street View!
  9. Google maps in the street This is Google maps in

    the street and I don’t mean Street View! The sole reason why I can sit confidently on a Bike with Zero idea of where I’m going except the directions provided by maps
  10. Google maps in the street Or on good days, sit

    comfortably in ride ordered on a platform such as Taxify/Uber.
  11. Allianz Provides real-time dispatch and tracking of service providers to

    help people in need 120,000+ car breakdowns serviced a year using Maps-based tool
  12. GO-JEK GO-JEK provides transport, logistics, and payment services to 25

    cities. GO-JEK has become Indonesia’s leading on-demand multiservice platform
  13. The google maps platform Google Maps Platform is a set

    of APIs and SDKs that are managed from the Google Cloud Platform console - Basically a Platform provided by Google for developers to extend and use the capabilities of Google Maps - SDK for Android,iOS and Javascript/ Web Service APIs
  14. The three main products The Google Maps Platform provides 3

    main products - Maps - Routes - Places
  15. HOW DO I GET STARTED - First stepS Go to

    the Maps platform to https://cloud.google.com/maps-platform/ and click on GET STARTED
  16. - Install flutter on your machine, if you do not

    have it already Head on to https://flutter.io/get-started/install/ - Create a flutter project $ flutter create --org com.yourdomain appname
  17. The package that brings google maps to flutter - We

    will be needing this flutter package - https://pub.dev/packages/google_maps_flutter (currently in Developers Preview) - Add this to your package's pubspec.yaml file: dependencies: google_maps_flutter: ^0.5.21+8 $ flutter packages get
  18. For Android You want to add the API key to

    the AndroidManifest.xml file in android/app/src/main
  19. For iOS (SWIFT) You want to add the API key

    to the AppDelegate.swift file in ios/Runner
  20. For iOS (Objective c) You want to add the API

    key to the AppDelegate.m file in ios/Runner