คลาสสุดท้ายสาธารณะ
BitmapDescriptor
ขยายออบเจ็กต์
กำหนดอิมเมจบิตแมป สำหรับเครื่องหมาย คลาสนี้สามารถใช้เพื่อกำหนดรูปภาพของไอคอนเครื่องหมาย
สำหรับภาพซ้อนทับระดับพื้น สามารถใช้เพื่อตั้งภาพให้วางบนพื้นผิวโลก หากต้องการรับ BitmapDescriptor
ให้ใช้คลาสเริ่มต้น BitmapDescriptorFactory
ตัวอย่างการตั้งค่าไอคอนของเครื่องหมาย BitmapDescriptor
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));