title: Set a marker icon in Google Maps API
body: <p>I am using Xamarin and am using the SimpleMapDemo and I have a question about setting a MarkerOptions object to have a different icon.</p>
  
  <p>Here is my current code:</p>
  
  <pre><code>marker1.Icon(SetFeatureDrawable('Icon.png'));
  </code></pre>
  
  <p>This above code is not working.</p>
  
  <p>May I please have some help to set the icon to be the icon that is in the Drawable folder that has the name of 'Icon.png'?</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here is my code:</p>
  
  <pre><code>marker1.Icon(BitmapDescriptorFactory.FromResource(Resource.Drawable.monkey));
  </code></pre>
  
  <p>This is the error I am getting:</p>
  
  <pre><code>Non-invocable member 'Android.Gms.Maps.Model.MarkerOptions.Icon' cannot be used like a method
  </code></pre>
  
  <p>Here is my code to try and set the icon:</p>
  
  <pre><code>marker1.Icon = BitmapDescriptorFactory.FromResource(Resource.Drawable.monkey);
  </code></pre>
  
  <p>This is the error I am getting:</p>
  
  <pre><code>CS0200: Property or indexer 'Android.Gms.Maps.Model.MarkerOptions.Icon' cannot be assigned to -- it is read only (CS0200)
  </code></pre>