public static BitmapDescriptor DefaultMarker(Color color)
 {
     return(BitmapDescriptor.DefaultMarker(color, color.GetHashCode().ToString()));
 }
 public static BitmapDescriptor FromResource(string bundleName)
 {
     return(BitmapDescriptor.FromResource(bundleName, bundleName));
 }
 public static BitmapDescriptor FromView(View view, string id = null)
 {
     return(BitmapDescriptor.FromView(view, id));
 }
 public static BitmapDescriptor FromStream(Stream stream, string id = null)
 {
     return(BitmapDescriptor.FromStream(stream, id));
 }
Exemple #5
0
 /// <summary>
 /// Sets the rendering method to use custom bitmap image.
 /// </summary>
 /// <param name="image">The BitmapDescriptor image. The number of items will be drawn automatically on top of this image.</param>
 /// <param name="textColor">The text color.</param>
 public void SetRenderUsingImage(BitmapDescriptor image, Color textColor)
 {
     RendererTextColor = textColor;
     RendererImage     = image;
     RendererCallback  = null;
 }
Exemple #6
0
 /// <summary>
 /// Sets the rendering method to use custom bitmap image.
 /// </summary>
 /// <param name="image">The BitmapDescriptor image. The number of items will be drawn automatically on top of this image.</param>
 public void SetRenderUsingImage(BitmapDescriptor image)
 {
     SetRenderUsingImage(image, Color.White);
 }