Skip to content

Instantly share code, notes, and snippets.

@espritm
Created April 5, 2017 16:30
Show Gist options
  • Save espritm/cf2e1a1e64db935dfb67295a41531919 to your computer and use it in GitHub Desktop.
Save espritm/cf2e1a1e64db935dfb67295a41531919 to your computer and use it in GitHub Desktop.
//Draw a single marker
protected override void OnBeforeClusterItemRendered(Java.Lang.Object p0, MarkerOptions markerOptions)
{
//Icon for single marker
markerOptions.SetIcon(BitmapDescriptorFactory.FromResource(Resource.Drawable.marker));
//Text for Info Window
markerOptions.SetTitle("Grenoble");
markerOptions.SetSnippet(markerOptions.Position.Latitude.ToString() + ", " + markerOptions.Position.Longitude.ToString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment