Last active
September 29, 2016 05:40
-
-
Save davidnuon/7d6a083b3ecfd123b798b2c1a3a0db0a to your computer and use it in GitHub Desktop.
Segment Loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PolylineOptions lineOptions = new PolylineOptions(); | |
for(/* loop to get points */) { | |
lineOptions.add(new LatLng(obj.lat, obj.long)); | |
} | |
lineOptions.add(new LatLng(33.927065258415212, -118.3913193654964)) | |
lineOptions.width(20) | |
lineOptions.color(Color.RED); | |
line = mMap.addPolyline(lineOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment