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
/* | |
mMap.addMarker(new MarkerOptions() | |
.position(new LatLng(latitude, longitude)) | |
.title("Marker Title") | |
.snippet("Marker snippet") | |
.icon(getBitmapDescriptor(R.drawable.ic_place_black_48dp))); | |
*/ | |
private BitmapDescriptor getBitmapDescriptor(int id) { | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { |