Map.style
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, मैप की स्टाइल के ActiveDictionary को दिखाता है. इसमें बदलाव करके, मैप की स्टाइल को अपडेट किया जा सकता है.
ui.Panel.style() दस्तावेज़ में दी गई स्टैंडर्ड यूज़र इंटरफ़ेस (यूआई) एपीआई स्टाइल के अलावा, मैप में स्टाइल के लिए कस्टम विकल्प भी उपलब्ध है:
- कर्सर, जो 'क्रॉसहेयर' या 'हाथ' (डिफ़ॉल्ट) हो सकता है
इस्तेमाल | रिटर्न |
---|
Map.style() | ui.data.ActiveDictionary |
कोई आर्ग्युमेंट नहीं.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["The `Map.style()` method returns an `ActiveDictionary` that controls the Map's visual styles. This `ActiveDictionary` can be directly modified to change these styles. In addition to standard UI API styles, the Map also allows customization of the cursor, which can be set to either 'crosshair' or 'hand', with 'hand' being the default. The method takes no arguments.\n"],null,[]]