मैप की नई स्टाइल, जल्द ही Google Maps Platform पर उपलब्ध होगी. मैप की स्टाइल में हुए इस अपडेट में, नया डिफ़ॉल्ट कलर पटल जोड़ा गया है. साथ ही, मैप के अनुभवों और उसे इस्तेमाल करने के तरीके में सुधार भी किए गए हैं. मार्च 2025 में, सभी मैप स्टाइल अपने-आप अपडेट हो जाएंगी. उपलब्धता और जल्दी ऑप्ट इन करने के तरीके के बारे में ज़्यादा जानकारी के लिए, Google Maps Platform के लिए नई मैप स्टाइल देखें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
एक साथ जोड़ना
इवेंट-प्रोसेसिंग ऑपरेटर को मिलाकर, एसिंक्रोनस इवेंट मैनेज करने के लिए फ़्रेमवर्क.
कंबाइन करने से आपके इवेंट प्रोसेसिंग कोड को एक ही जगह पर स्टोर करके, आपके कोड को पढ़ना और मैनेज करना आसान हो जाता है.
GoogleMapsPlatformPlatform लाइब्रेरी
एक Swift लाइब्रेरी है, जो
Publishers
iOS के लिए Maps SDK और iOS के लिए Places SDK टूल के लिए आवेदन करें, ताकि आप
'कॉम्बो' फ़ीचर के रिच सेट का इस्तेमाल करें.
इंस्टॉल करना
GoogleMapsPlatformPlatform लाइब्रेरी देखें
GitHub पर मौजूद दस्तावेज़ देखें. इसमें, सिस्टम से जुड़ी नई ज़रूरी शर्तों और इंस्टॉल करने के निर्देशों के बारे में बताया गया है.
इस्तेमाल का उदाहरण
GoogleMapsPlatformPartner लाइब्रेरी में ये चीज़ें शामिल होती हैं:
GMSMapViewPublisher क्लास
इसमें पब्लिशर की प्रॉपर्टी शामिल होती हैं. इनकी मदद से, मैप से जनरेट होने वाले इवेंट की सदस्यता ली जा सकती है.
नीचे दिए गए उदाहरण में, सदस्यता लेने के लिए GMSMapViewPublisher इंस्टेंस को कॉन्फ़िगर किया गया है
कैमरे में हुए बदलाव की जानकारी:
let publisher = GMSMapViewPublisher(mapView:mapView)publisher.didChangeCameraPosition.sink { cameraPosition inprint("Camera position at \(cameraPosition.target)")}
[[["समझने में आसान है","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-13 (UTC) को अपडेट किया गया."],[[["GoogleMapsPlatformCombine is a Swift library that integrates the Maps SDK for iOS and Places SDK for iOS with Apple's Combine framework."],["This library provides Publishers for various SDK functionalities, allowing developers to leverage Combine's features for asynchronous event handling."],["By using GoogleMapsPlatformCombine, developers can simplify their code and centralize event-processing logic for Google Maps and Places SDKs within their applications."],["A practical example demonstrates subscribing to camera change events on a `GMSMapView` using the `GMSMapViewPublisher` and Combine's `sink` operator."]]],["The content introduces the GoogleMapsPlatformCombine library, which utilizes Apple's Combine framework for handling asynchronous events within the Google Maps and Places SDKs for iOS. It leverages `Publishers` to manage events. A key action is demonstrated through the `GMSMapViewPublisher` class, allowing users to subscribe to map events. An example illustrates how to monitor camera position changes using the `didChangeCameraPosition` publisher. Installation instructions and further details are available on the library's GitHub page.\n"]]