Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
herkese açık final dersi
BitmapDescriptor nesnesini genişletir
Bir Bit eşlem görüntüsü tanımlar. Bir işaretçi için, işaretçi simgesinin görüntüsünü ayarlamak üzere bu sınıf kullanılabilir.
Zemin bindirmesi için, görüntüyü dünya yüzeyine yerleştirmek üzere ayarlamak için kullanılabilir. Alıcı:
BitmapDescriptorFactory fabrika sınıfını kullanmak için bir BitmapDescriptor edinin.
BitmapDescriptor işaretçisinin simgesini ayarlamayı gösteren örnek.
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));
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-04-15 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"]]