Last active
April 29, 2022 09:06
-
-
Save kuwapa/fb185322b34cfa53ab0926f8ba565ec7 to your computer and use it in GitHub Desktop.
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
override fun onCreate(savedInstanceState: Bundle?) { | |
//map init code.. | |
val path = createDummyPath() | |
val lineOnMap = showPathOnMap(path) | |
} | |
private fun showPathOnMap(path: List<Radio>) : Line { | |
val lineOptions = LineOptions() | |
.withLineColor("#3949AB") | |
.withLineWidth(5f) | |
.withLatLngs(path) | |
return lineManager.create(lineOptions) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment