Skip to content

Instantly share code, notes, and snippets.

@kuwapa
Last active April 29, 2022 09:23
Show Gist options
  • Save kuwapa/dcc4feed9c446b1aa68697bb61c9170b to your computer and use it in GitHub Desktop.
Save kuwapa/dcc4feed9c446b1aa68697bb61c9170b to your computer and use it in GitHub Desktop.
override fun onCreate(savedInstanceState: Bundle?) {
//map init code..
val path = createDummyPath()
val lineOnMap = showPathOnMap(path)
v.clearButton.setOnClickListener {
lineManager.delete(lineOnMap)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment