मैप की नई स्टाइल, जल्द ही Google Maps Platform पर उपलब्ध होगी. मैप की स्टाइल में हुए इस अपडेट में, नया डिफ़ॉल्ट कलर पटल जोड़ा गया है. साथ ही, मैप के अनुभवों और उसे इस्तेमाल करने के तरीके में सुधार भी किए गए हैं. मार्च 2025 में, सभी मैप स्टाइल अपने-आप अपडेट हो जाएंगी. उपलब्धता और जल्दी ऑप्ट इन करने के तरीके के बारे में ज़्यादा जानकारी के लिए, Google Maps Platform के लिए नई मैप स्टाइल देखें.
GMSCollisionBehaviorRequired (डिफ़ॉल्ट): चाहे कोई भी तरह का कोलिज़न हो, मार्कर हमेशा दिखाएं. यह डिफ़ॉल्ट व्यवहार है. इससे इस बात पर कोई असर नहीं पड़ता कि कोई दूसरा मार्कर या बेसमैप लेबल दिखता है या नहीं.
GMSCollisionBehaviorOptionalAndHidesLowerPriority: मार्कर को सिर्फ़ तब दिखाएं, जब वह दूसरे मार्कर के साथ ओवरलैप न हो. अगर इस तरह के दो मार्कर एक-दूसरे पर ओवरलैप होते हैं, तो ज़्यादा zIndex वाला मार्कर दिखाया जाता है. अगर दोनों का zIndex एक जैसा है, तो स्क्रीन पर सबसे नीचे मौजूद वर्टिकल पोज़िशन वाला स्क्रीनशॉट दिखाया जाता है.
GMSCollisionBehaviorRequiredAndHidesOptional: मार्कर को हमेशा दिखाएं, भले ही कोई टकराव हो. साथ ही, किसी भी GMSCollisionBehaviorOptionalAndHidesLowerPriority को छिपाएं. मार्कर को सिर्फ़ तब दिखाएं, जब वह दूसरे मार्कर से ओवरलैप न हो. GMSCollisionBehaviorRequired नहीं करता है. अगर इस तरह के दो मार्कर ओवरलैप होते हैं, तो zIndex की ज़्यादा वैल्यू वाला मार्कर दिखाया जाता है. एक ही zIndex वाले मार्कर के लिए, कोलिज़न नियम तय नहीं किए गए हैं.
[null,null,["आखिरी बार 2025-02-28 (UTC) को अपडेट किया गया."],[[["Collision behavior dictates how markers are displayed when they overlap on the map."],["You can configure a marker's collision behavior using the `GMSAdvancedMarker.collisionBehavior` property with three options: `GMSCollisionBehaviorRequired`, `GMSCollisionBehaviorOptionalAndHidesLowerPriority`, and `GMSCollisionBehaviorRequiredAndHidesOptional`."],["`GMSCollisionBehaviorRequired` is the default, always displaying the marker regardless of overlap."],["`GMSCollisionBehaviorOptionalAndHidesLowerPriority` displays the marker only if it doesn't overlap with others, prioritizing higher `zIndex` and lower screen position in case of conflicts."],["`GMSCollisionBehaviorRequiredAndHidesOptional` always displays the marker and hides any with `GMSCollisionBehaviorOptionalAndHidesLowerPriority` behavior."]]],["Collision behavior dictates marker display during overlaps. Options include: `Required` (always visible, default); `OptionalAndHidesLowerPriority` (visible only if no overlap, higher `zIndex` prevails); and `RequiredAndHidesOptional` (always visible, hides `OptionalAndHidesLowerPriority`). `zIndex` determines priority in overlapping markers, with lower vertical screen position breaking ties in specific cases. Setting `collisionBehavior` in code allows customization of display logic. It's recommended to use the same behavior for all advanced markers.\n"]]