मैप की नई स्टाइल, जल्द ही Google Maps Platform पर उपलब्ध होगी. मैप की स्टाइल में हुए इस अपडेट में, नया डिफ़ॉल्ट कलर पटल जोड़ा गया है. साथ ही, मैप के अनुभवों और उसे इस्तेमाल करने के तरीके में सुधार भी किए गए हैं. मार्च 2025 में, सभी मैप स्टाइल अपने-आप अपडेट हो जाएंगी. उपलब्धता और जल्दी ऑप्ट इन करने के तरीके के बारे में ज़्यादा जानकारी के लिए, Google Maps Platform के लिए नई मैप स्टाइल देखें.
यह पेज आपको KML में भौगोलिक डेटा को रेंडर करने का तरीका बताता है
फ़ॉर्मैट में GMUKMLParser का इस्तेमाल
GMUGeometryRenderer के साथ संयोजन में. KML मशहूर है
फ़ॉर्मैट का इस्तेमाल करें.
यह स्क्रीनशॉट, मैप पर रेंडर किए गए KML डेटा के कुछ उदाहरण दिखाता है:
कोड का पूरा सैंपल देखने के लिए, सैंपल ऐप्लिकेशन देखें
चालू
GitHub.
KML डेटा रेंडर करना
मैप पर KML डेटा रेंडर करने के लिए GMUKMLParser को
KML संसाधन का पाथ (इस उदाहरण में KML_Sample.kml). इसके बाद,
GMUKMLParser को पास करने वाला GMUGeometryRenderer बनाएं
इंस्टेंस. आखिर में, GMUGeometryRenderer.render() पर कॉल करें. कॉन्टेंट बनाने
उदाहरण के लिए, नीचे दिए गए कोड के उदाहरण में मैप पर KML डेटा को रेंडर किया गया है:
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-20 (UTC) को अपडेट किया गया."],[[["This documentation explains how to render geographic data in KML format using the `GMUKMLParser` and `GMUGeometryRenderer` within the Google Maps SDK for iOS Utility Library."],["KML is a popular format used for displaying geographic data, including points, lines, and polygons, on maps."],["To render KML data, create a `GMUKMLParser` instance with the path to your KML file, then use it to initialize a `GMUGeometryRenderer`, and finally, call `render()` on the renderer to display the data on your map."],["Code examples in both Swift and Objective-C are provided to demonstrate the process of rendering KML data on a map using the Google Maps SDK for iOS."]]],[]]