如要為資料集設定樣式,您必須將地圖樣式與地圖 ID 建立關聯,這樣才能將資料集與地圖 ID 建立關聯。在應用程式中,開發人員可以參照該地圖 ID,以及與該 ID 相關聯的任何地圖樣式和地理空間資料。系統不會對地理空間資料套用其他存取控制項,因此地理空間資料實際上會公開提供給任何使用該應用程式的使用者。
設定資料地圖項目樣式
上傳自訂資料並與地圖樣式和地圖 ID 建立關聯後,您就可以設定資料地圖項目的樣式來營造視覺效果,以及讓地圖項目回應輕觸事件。
[[["容易理解","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-12-18 (世界標準時間)。"],[[["Data-driven styling allows you to upload custom geospatial datasets (GeoJSON, CSV, KML) and visualize them on vector maps with custom styles based on their geometries."],["You can apply unique styling to point, polyline, and polygon data, enabling visualization of locations, geographical features, and areas, respectively."],["Datasets associated with map IDs are effectively public, accessible to anyone with the app referencing that ID."],["Data features can be made interactive by adding event listeners, allowing them to respond to user interactions like taps."],["To get started, you'll need to upload your data using Google Cloud Console or Google Cloud Shell and then associate it with a map style and ID."]]],[]]