데이터 세트에 대한 데이터 기반 스타일 지정 기능을 사용하면 자체 지리 정보 데이터 세트를 업로드하고, 이 데이터 세트의 데이터 지형지물에 맞춤 스타일을 적용하고, 지도에 이러한 데이터 지형지물을 표시할 수 있습니다. 점, 다중선, 다각형 도형을 기반으로 데이터 시각화를 생성하고 데이터 지형지물이 클릭 이벤트에 반응하도록 설정할 수 있습니다. 데이터 세트에 대한 데이터 기반 스타일 지정은 벡터 지도에서만 지원됩니다(지도 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"]],["최종 업데이트: 2025-08-16(UTC)"],[[["\u003cp\u003eData-driven styling allows you to upload, style, and display custom geospatial datasets (GeoJSON, CSV, KML) on vector maps using Google Maps Platform.\u003c/p\u003e\n"],["\u003cp\u003eDatasets are associated with map styles and IDs, enabling data visualization and interactivity based on point, polyline, and polygon geometries.\u003c/p\u003e\n"],["\u003cp\u003ePublic datasets, when linked to a map ID, become accessible to anyone with the app using that ID, requiring awareness regarding data sensitivity.\u003c/p\u003e\n"],["\u003cp\u003eData features can be styled for visual impact and interactivity, such as highlighting locations, geographical features, areas, and responding to click events.\u003c/p\u003e\n"],["\u003cp\u003eRendering a large number of data features might impact app performance, potentially causing lag or stability issues during zoom or rotate operations.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/maps/documentation/android-sdk/dds-datasets/overview \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/dds-datasets/overview \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/dds-datasets/overview \"View this page for the JavaScript platform docs.\")\n\n\u003cbr /\u003e\n\nData-driven styling for datasets lets you upload your own geospatial datasets,\napply custom styling to their data features, and display those data features on\nmaps. With data-driven styling for datasets, you can create data visualizations\nbased on point, polyline, and polygon geometries, and make data features respond\nto click events. Data-driven styling for datasets is supported on vector maps\nonly (a map ID is required).\n\n[Get started with data-driven styling for datasets](/maps/documentation/android-sdk/dds-datasets/start)\n\nAdd custom geospatial datasets\n\nAdd your custom data using Google Cloud Console or Google Cloud\nShell. Each dataset has a unique ID, which you can associate with a map style.\nThe following data formats are supported:\n\n- GeoJSON\n- Comma-separated (CSV)\n- KML\n\nFor details about dataset requirements and limitations, see\n[Create and manage a dataset](/maps/documentation/android-sdk/dds-datasets/create-dataset#dataset-prerequisites)\n\nAbout public datasets\n\nIn order to style a dataset you must associate a map style with a map ID, which\nalso associates the dataset to the map ID. In an app, developers can reference\nthat map ID, and any map style and geospatial data associated with it. No\nadditional access control is applied to the geospatial data, making the\ngeospatial data effectively publicly available to anyone with the app.\n\nStyle data features\n\nOnce your custom data has been uploaded and associated to a map\nstyle and map ID, you can style data features for visual impact, and make\nfeatures respond to click events.\n\nStyle point data to show specific locations on the map.\n\nStyle polyline data to highlight geographical features.\n\nStyle polygon data to highlight geographical areas.\n\nMake data features respond to click events by adding an event\nlistener.\n\nPerformance when rendering a large number of data features\n\nWhen rendering a large number of data features, you might notice performance\nissues in your app. For example, you might notice a performance lag or stability\nissues with the app during a zoom or rotate."]]