Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for lineCap and lineDash pattern #2417

Merged
merged 10 commits into from
Mar 8, 2019

Conversation

kruyvanna
Copy link
Contributor

Does any other open PR do the same thing?

Yes. But this one does one more thing which is LineDashPattern
(please answer here)

What issue is this PR fixing?

No issue reported yet.
(please link the issue here)

How did you test this PR?

Tested.

You're welcome

@christopherdro
Copy link
Collaborator

@kruyvanna Thanks for the PR. Any chance you can add this information to the docs?

@kruyvanna
Copy link
Contributor Author

@christopherdro I updated the docs.

@@ -97,6 +98,12 @@ public void setlineCap(AirMapPolyline view, String lineCap) {
view.setLineCap(cap);
}

@ReactProp(name = "lineDashPattern")
public void setLineDashPattern(AirMapPolyline view, ReadableArray patternValues) {
Log.i("VANNA", "setLineDash " + patternValues);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kruyvanna Could you remove this log here?

@christopherdro
Copy link
Collaborator

christopherdro commented Feb 6, 2019

@kruyvanna Thank you. Just left one more comment to remove a debug log left behind.

@kruyvanna
Copy link
Contributor Author

@christopherdro done.

@@ -4,6 +4,7 @@
import android.graphics.Color;
import android.os.Build;
import android.util.DisplayMetrics;
import android.util.Log;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kruyvanna please remove this import

once done I'm more than happy to test and merge

@kruyvanna
Copy link
Contributor Author

@salah-ghanim done

@christopherdro christopherdro merged commit 4978696 into react-native-maps:master Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants