Created
September 7, 2017 02:36
-
-
Save josh-burton/680fbea7a5d09d909adb2b28f8390759 to your computer and use it in GitHub Desktop.
MapMe setup
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
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