비트맵 이미지를 정의합니다. 마커의 경우 이 클래스를 사용하여 마커 아이콘의 이미지를 설정할 수 있습니다.
지면 오버레이의 경우 지면에 배치되도록 이미지를 설정하는 데 사용할 수 있습니다. 받는사람
BitmapDescriptor를 얻고 팩토리 클래스 BitmapDescriptorFactory를 사용합니다.
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-09-13(UTC)"],[[["\u003cp\u003e\u003ccode\u003eBitmapDescriptor\u003c/code\u003e defines bitmap images for marker icons and ground overlays in Google Maps.\u003c/p\u003e\n"],["\u003cp\u003eUse \u003ccode\u003eBitmapDescriptorFactory\u003c/code\u003e to create instances of \u003ccode\u003eBitmapDescriptor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMarker icons can be customized using \u003ccode\u003eBitmapDescriptor\u003c/code\u003e obtained from \u003ccode\u003eBitmapDescriptorFactory\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBitmapDescriptor\u003c/code\u003e inherits standard methods from \u003ccode\u003ejava.lang.Object\u003c/code\u003e like \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and \u003ccode\u003etoString\u003c/code\u003e.\u003c/p\u003e\n"]]],["`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"],null,[]]