title: Changing colour of Markers - Google Map V2 Android
body: <p>I'm having a little trouble understanding how to change the colour of a marker in an Android Google Map project.</p>
  
  <p>My code for a Marker is:</p>
  
  <pre><code>googlemap.addMarker(new MarkerOptions()
      .position(new LatLng( 65.07213,-2.109375))
      .title("This is my title"))
      .setSnippet("and snippet");
      .icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_ORANGE)));
  </code></pre>
  
  <p>I get this error when I put in the .icon code on the last line, otherwise the <code>.position</code>, <code>.title</code> and <code>.setSnippet</code> work just fine and are visible on the map. </p>
  
  <blockquote>
    <p>Cannot invoke icon(BitmapDescriptor) on the primitive type void</p>
  </blockquote>
  
  <p>These get imported aswell:</p>
  
  <pre><code>import com.google.android.gms.maps.model.BitmapDescriptor;
  import com.google.android.gms.maps.model.BitmapDescriptorFactory;
  </code></pre>
  
  <p>But nothing else is added in. Have I missed a vital part?    </p>