1

How to apply two different icons in markers when it has selected?

view story
linux-howto

http://stackoverflow.com – I am using custom marker icon to display. It displays with green. When marker been tap, how to apply other icon in marker. My code is as follows Bitmap bmp; bmp=writeTextOnDrawable(context,R.drawable.green,("Hello")); @Override public void onInfoWindowClick(final Marker marker) { // how to change color of marker color/icon when it tap. } private Bitmap writeTextOnDrawable(Context context,int drawableId, String text) { Bitmap bm = BitmapFactory.decodeResource(getResources(), drawableId) .copy(Bitmap.Config.ARGB_8888, true); Typeface t (HowTos)