बिट मैपडीस्क्रिप्टर
बिटमैप इमेज के बारे में बताता है. मार्कर के लिए, इस क्लास का इस्तेमाल मार्कर आइकॉन की इमेज सेट करने के लिए किया जा सकता है.
ग्राउंड ओवरले के लिए, इसका इस्तेमाल इमेज को पृथ्वी की सतह पर रखने के लिए सेट किया जा सकता है. यहां की यात्रा पर हूं
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));
इनहेरिट किए गए तरीके की खास जानकारी
क्लास से
java.lang.Object
बूलियन
|
इसके बराबर है(ऑब्जेक्ट org0)
|
फ़ाइनल
क्लास<?>
|
getClass()
|
int
|
hashCode()
|
फ़ाइनल
अमान्य
|
notify()
|
फ़ाइनल
अमान्य
|
notifyAll()
|
स्ट्रिंग
|
toString()
|
फ़ाइनल
अमान्य
|
wait(long rc0, int org1)
|
फ़ाइनल
अमान्य
|
wait(long rc0)
|
फ़ाइनल
अमान्य
|
wait()
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-04-24 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-04-24 (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"]]