-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Conversation
@kruyvanna Thanks for the PR. Any chance you can add this information to the docs? |
@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); |
There was a problem hiding this comment.
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?
@kruyvanna Thank you. Just left one more comment to remove a debug log left behind. |
@christopherdro done. |
@@ -4,6 +4,7 @@ | |||
import android.graphics.Color; | |||
import android.os.Build; | |||
import android.util.DisplayMetrics; | |||
import android.util.Log; |
There was a problem hiding this comment.
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
@salah-ghanim done |
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