Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

[google_maps_flutter]Added support for drawing polylines to the google_maps flutter plugin… #941

Closed
wants to merge 9 commits into from

Conversation

irevans
Copy link

@irevans irevans commented Nov 28, 2018

This includes the flutter layer, android code and example application, but not iOS.

…. This includes the flutter layer, android code and example application, but not iOS.
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@irevans
Copy link
Author

irevans commented Nov 28, 2018

I would like to run the flutter_plugin_tools. From the google_maps_flutter directory I have ran:

flutter packages pub global activate flutter_plugin_tools

This appears to have worked. I then ran:

flutter packages pub global run flutter_plugin_tools format --plugins google_maps_flutter

However this fails with an error message: Error: Cannot find a "packages" sub-directory.

I realise this may be a novice question but I would appreciate some advice on how to overcome the above problem.

@amirh
Copy link
Contributor

amirh commented Nov 28, 2018 via email

@irevans
Copy link
Author

irevans commented Nov 28, 2018

Hi Amir,

When I run the command from the plugins directory it fails with the following error:

Error: No pubspec.yaml file found. This command should be run from the root of your Flutter project. Do not run this command from the root of your git clone of Flutter.

You should run it from the root folder of the plugins directory.

On Wed, Nov 28, 2018 at 7:01 AM irevans @.***> wrote: I would like to run the flutter_plugin_tools. From the google_maps_flutter directory I have ran: flutter packages pub global activate flutter_plugin_tools This appears to have worked. I then ran: flutter packages pub global run flutter_plugin_tools format --plugins google_maps_flutter However this fails with an error message: Error: Cannot find a "packages" sub-directory. I realise this may be a novice question but I would appreciate some advice on how to overcome the above problem. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#941 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-gdZ03vnNV6owDKacKXKN-sH_jv7D5ks5uzqUxgaJpZM4Y3XRe .

@amirh
Copy link
Contributor

amirh commented Nov 28, 2018

Ohh just noticed you are running: flutter packages pub run it should be pub run.

@irevans
Copy link
Author

irevans commented Nov 28, 2018

Thanks Amir.

When you review these code changes I would be particularly interested in whether you think using null to represent the default pattern in the PolylineOptions class is a good idea. Perhaps using an empty list would be better, such that null is used to consistently mean "do not change this configuration option".

@amirh
Copy link
Contributor

amirh commented Nov 28, 2018

Can you make the googlebot happy ?

@irevans
Copy link
Author

irevans commented Nov 29, 2018

Hi Amir, I'm just waiting on my employer to confirm that they waive any rights to IP before signing the cla. Merely a formality that won't take long. Sorry for the delay.

@irevans
Copy link
Author

irevans commented Dec 4, 2018

I signed it!

@kunit1
Copy link

kunit1 commented Dec 6, 2018

@irevans looks like bot is still not happy about cla.

Would be nice to have this merged (after it's been reviewed)

@irevans
Copy link
Author

irevans commented Dec 6, 2018

@kunit1 I'm waiting for my employer's "authorized signer" to complete the CLA signing process. It should be done soon.

I'm not sure what the following checks are failing, is this likely to be a consequence of the cla issue?

build-apks+java-test PLUGIN_SHARDING:--shardIndex 0 --shardCount 2
build-apks+java-test PLUGIN_SHARDING:--shardIndex 1 --shardCount 2

@joaquinperaza
Copy link

Great! I am looking to start coding polygon support, is nobody on that?

@irevans
Copy link
Author

irevans commented Dec 18, 2018

@joaquinpereaza only polyline support in this pull request (not polygon).

@ZatacaSystems
Copy link

@irevans hey! any news on the conflicts? I'm looking forward for this!

@irevans
Copy link
Author

irevans commented Jan 18, 2019

I signed it!

@irevans
Copy link
Author

irevans commented Jan 19, 2019

@amirh Hi Amir, the cla has been signed, any idea why that didn't trigger a rebuild of the project?

@irevans
Copy link
Author

irevans commented Jan 22, 2019

@amirh Hi Amir, are you able to shed some light on why the google bot claims the cla is not signed when I have supplied the information requested (when contributing on behalf of an employer) and it's been signed by the authorised signer?

I don't see any information from the build that would help me diagnose the problem, am I missing anything?

@googlebot
Copy link

CLAs look good, thanks!

…ented by an empty list. This emans that null is consistently used to represent no change.
@bright2kwame
Copy link

how do I add this pull request to my flutter project ??

@irevans
Copy link
Author

irevans commented Jan 30, 2019

@bright2kwame I would suggest you use pull request #1049 instead, since it has added iOS support on top of the android support in this pull request. You can use that by adding the following to your pubspec.yaml:

google_maps_flutter:
    git:
      url: git://github.com/awazgyawali/plugins/
      path: packages/google_maps_flutter
      ref: google_maps_polyline

@mendoza02
Copy link

mendoza02 commented Jan 30, 2019 via email

@joaquinperaza
Copy link

joaquinperaza commented Jan 30, 2019 via email

@cyanglaz cyanglaz changed the title Added support for drawing polylines to the google_maps flutter plugin… [google_maps_flutter]Added support for drawing polylines to the google_maps flutter plugin… Feb 22, 2019
@amirh amirh added this to Awaiting initial triage in [experimental] Plugins PR tracking Mar 29, 2019
@irevans
Copy link
Author

irevans commented Apr 11, 2019

FYI. A fork of this pull request (#1049) has now been approved and merged.

1 similar comment
@irevans
Copy link
Author

irevans commented May 2, 2019

FYI. A fork of this pull request (#1049) has now been approved and merged.

@irevans irevans closed this May 2, 2019
[experimental] Plugins PR tracking automation moved this from Awaiting initial triage to Done May 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
No open projects
8 participants