title: Round icon to the marker in Google map v2 in android
body: <p>I have implemented google maps in my android app. I have two questions related to markers.</p>
  
  <p><strong>Question 1:</strong> How to get a round profile image marker? i.e I would like to get roud image icon rather than square image icon in the mapmarker?</p>
  
  <p>I am getting the list of lat, long, and profiepic link from a particular URL and loading them using Async. On Post execute I have
      implemented a for loop</p>
  
  <pre><code>    protected void onPostExecute(String file_url)
      {
          for (int i = 0; i &lt; nameList.size(); i++)
          {
              userName = nameList.get(i).getName();
              lati = nameList.get(i).getLati();
              longi = nameList.get(i).getLongi();
              photoUrl = nameList.get(i).getImage();
  
              gotoLocation(Double.parseDouble(lati), Double.parseDouble(longi), userName, photoUrl, ZOOMVALUE);
          }
      }
  </code></pre>
  
  <p>I am loading the image using picasso library to the marker:</p>
  
  <pre><code>    private void gotoLocation(double lat, double lng, String name, String url, float zoom)
      {
         final String uname = name; 
         curlat = lat;
         curlong = lng;
  
        Picasso.with(getActivity()).load(url).resize(100, 100).into(new Target() 
        { 
          @Override
          public void onBitmapFailed(Drawable arg0) 
          {
              markerOptions = new MarkerOptions().position(new LatLng(curlat, curlong)).icon(BitmapDescriptorFactory.fromResource(R.drawable.profilepic)).title(uname);
              markerforfriends = googleMap.addMarker(markerOptions);          
          }
  
          @Override
          public void onBitmapLoaded(Bitmap b, LoadedFrom arg1) 
          {
  
              bitmapMarker = BitmapDescriptorFactory.fromBitmap(b);
  
              if(b != null)
              {
                  markerOptions = new MarkerOptions().position(new LatLng(curlat, curlong)).icon(bitmapMarker).title(uname);
              }
              else
              {
                  markerOptions = new MarkerOptions().position(new LatLng(curlat, curlong)).icon(BitmapDescriptorFactory.fromResource(R.drawable.profilepic)).snippet(uname);
              }
  
              markerforfriends = googleMap.addMarker(markerOptions);                    
  
          }
  
          @Override
          public void onPrepareLoad(Drawable arg0) 
          {
  
          }
        });
  
      }
  </code></pre>
  
  <p>I tried the following: </p>
  
  <pre><code>    CircleOptions circle=new CircleOptions();
      circle.center(ll).fillColor(Color.LTGRAY).radius(1);
      googleMap.addCircle(circle);
  </code></pre>
  
  <p>This circles the current location but not the image?</p>
  
  <p><strong>Question 2:</strong> The above markers don't pop up always (not stable)? if I refersh the map it comes up properly? What could be wrong here? Is it because I am loading them using piccasso library? Is there different method to load the image from URL and them to marker?</p>