Modifier and Type | Method and Description |
---|---|
static BitmapDescriptor |
BitmapDescriptorFactory.defaultMarker()
Creates a bitmap descriptor that refers to the default marker image.
|
static BitmapDescriptor |
BitmapDescriptorFactory.defaultMarker(float hue)
Creates a bitmap descriptor that refers to a colorization of the default marker image.
|
static BitmapDescriptor |
BitmapDescriptorFactory.fromAsset(String assetName)
Creates a
BitmapDescriptor using the name of an image in the assets directory. |
static BitmapDescriptor |
BitmapDescriptorFactory.fromBitmap(android.graphics.Bitmap image)
Creates a bitmap descriptor from a given image.
|
static BitmapDescriptor |
BitmapDescriptorFactory.fromFile(String fileName)
Creates a
BitmapDescriptor using the name of an image file located in the internal storage. |
static BitmapDescriptor |
BitmapDescriptorFactory.fromPath(String path)
Creates a
BitmapDescriptor from an absolute file path. |
static BitmapDescriptor |
BitmapDescriptorFactory.fromResource(int resourceId)
Creates a
BitmapDescriptor using the resource id of an image. |
BitmapDescriptor |
MarkerOptions.getIcon()
Gets the custom icon set for this MarkerOptions object.
|
Modifier and Type | Method and Description |
---|---|
MarkerOptions |
MarkerOptions.icon(BitmapDescriptor icon)
Sets the icon for the marker.
|
Copyright © 2012–2013 Ordnance Survey. All rights reserved.