I am developing an Android Application where I’m using Google Map API v2. I need to show the user location on a map with custom markers.
Each marker will show the picture of the user from an URL. The image must be downloaded in asynchronous mode from the server. See the attached screenshot for an example.
How do I add an image and custom information in the marker?

In the Google Maps API v2 Demo there is a
MarkerDemoActivityclass in which you can see how a custom Image is set to a GoogleMap.As this just replaces the marker with an image you might want to use a
Canvasto draw more complex and fancier stuff:This draws the Canvas
canvas1onto theGoogleMap mMap. The code should (mostly) speak for itself, there are many tutorials out there how to draw aCanvas. You can start by looking at the Canvas and Drawables from the Android Developer page.Now you also want to download a picture from an URL.
You must download the image from an background thread (you could use AsyncTask or Volley or RxJava for that).
After that you can replace the
BitmapFactory.decodeResource(getResources(), R.drawable.user_picture_image)with your downloaded imagebmImg.