add polyline option
This commit is contained in:
@@ -30,6 +30,7 @@ public class MogoPolylineOptions {
|
||||
private float mTransparency = 1.0F;
|
||||
private boolean mIsAboveMaskLayer = false;
|
||||
private boolean mIsPointsUpdated = false;
|
||||
private List< Integer > mColorValues;
|
||||
|
||||
public MogoPolylineOptions() {
|
||||
this.mPoints = new ArrayList<>();
|
||||
@@ -168,6 +169,15 @@ public class MogoPolylineOptions {
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param colors
|
||||
* @return
|
||||
*/
|
||||
public MogoPolylineOptions colorValues( List< Integer > colors ) {
|
||||
mColorValues = colors;
|
||||
return this;
|
||||
}
|
||||
|
||||
public List< MogoLatLng > getPoints() {
|
||||
return mPoints;
|
||||
}
|
||||
@@ -211,4 +221,8 @@ public class MogoPolylineOptions {
|
||||
public boolean isPointsUpdated() {
|
||||
return mIsPointsUpdated;
|
||||
}
|
||||
|
||||
public List< Integer > getColorValues() {
|
||||
return mColorValues;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user