Skip to content

Instantly share code, notes, and snippets.

@espritm
Created April 5, 2017 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espritm/8ac0ba5bd9ed7c91c9ea9004bb0e3f23 to your computer and use it in GitHub Desktop.
Save espritm/8ac0ba5bd9ed7c91c9ea9004bb0e3f23 to your computer and use it in GitHub Desktop.
public class ClusterItem : Java.Lang.Object, IClusterItem
{
public LatLng Position { get; set; }
public string Snippet { get; set; }
public string Title { get; set; }
public ClusterItem(double lat, double lon)
{
Position = new LatLng(lat, lon);
Title = lat.ToString() + ", " + lon.ToString();
}
public ClusterItem(IntPtr handle, Android.Runtime.JniHandleOwnership transfer)
: base(handle, transfer)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment