Skip to content

Instantly share code, notes, and snippets.

@josh-burton
Created September 7, 2017 02:36
Show Gist options
  • Save josh-burton/680fbea7a5d09d909adb2b28f8390759 to your computer and use it in GitHub Desktop.
Save josh-burton/680fbea7a5d09d909adb2b28f8390759 to your computer and use it in GitHub Desktop.
MapMe setup
val adapter: MapMeAdapter = GoogleMapMeAdapter(context, items)
adapter.setOnAnnotationClickListener(this)
mapView.getMapAsync { googleMap ->
//Attach the adapter to the map view once it's initialized
adapter.attach(mapView, googleMap)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment