GoogleMap map = ... // get a map.
// Add a marker at San Francisco with an azure colored marker.
Marker marker = map.add(new MarkerOptions()
.position(new LatLng(37.7750, 122.4183))
.title("San Francisco")
.snippet("Population: 776733"))
.icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_AZURE));
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-21 UTC。"],[[["`BitmapDescriptor` defines bitmap images for marker icons and ground overlays in Google Maps."],["Use `BitmapDescriptorFactory` to create instances of `BitmapDescriptor`."],["Marker icons can be customized using `BitmapDescriptor` obtained from `BitmapDescriptorFactory`."],["`BitmapDescriptor` inherits standard methods from `java.lang.Object` like `equals`, `hashCode`, and `toString`."]]],["`BitmapDescriptor` defines a bitmap image for markers or ground overlays. To use it, utilize the `BitmapDescriptorFactory` class. For instance, to set a marker's icon, you can use `BitmapDescriptorFactory.defaultMarker()` to define a color. The example provided demonstrates adding a marker to a map at specific coordinates and customizing it with an azure-colored icon, along with title and snippet. Additionally, this class inherits methods from the `java.lang.Object` class.\n"]]