Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sarweshkumar47 authored Dec 29, 2018
1 parent a5d0eca commit 325858a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Android library for drawing curves on Google Maps. This library uses Bezier cubi
intermediate points of a curve.

# Demo
[<img src="images/google_play.png" width="220">](https://play.google.com/store/apps/details?id=com.makesense.labs.curvefitexample)
[<img src="images/google_play.png" width="200">](https://play.google.com/store/apps/details?id=com.makesense.labs.curvefitexample)

<p align="center" >
<img src="images/sample_demo.gif" alt="demo" width="220" align="left" />
Expand Down Expand Up @@ -107,8 +107,10 @@ Defines shape and deviation of a curve. Alpha can vary from -1 to 1. The below i


<p align="center" >
<img src="images/alpha_positive.png" width="400" align="left"/>
<img src="images/alpha_negative.png" alt="alpha_negative" width="400" align="right"/> </p>
<img src="images/alpha_positive.png" width="300"/>
<img src="images/alpha_negative.png" alt="alpha_negative" width="300"/> </p>



_Note:_ This behaviour may vary when a curve passes through 180 degree meridian. Sometimes, you may not get perfect curve. In that case, use ```setComputePointsBasedOnScreenPixels(true)``` method to get the desired curve.

Expand All @@ -122,7 +124,7 @@ CurveOptions setComputePointsBasedOnScreenPixels(boolean computePointsBasedOnPix
If set to ```true```, geographic location points will be converted to screen pixel points and algorithm uses screen pixel points to compute all intermediate curve points. Refer the below image to understand the variations.

<p align="center" >
<img src="images/curve_diff.png" width="400" align="center" />
<img src="images/curve_diff.png" width="300" align="center" />
</p>


Expand Down

0 comments on commit 325858a

Please sign in to comment.