تتيح لك ميزة "تنسيق مستند إلى البيانات" لمجموعات البيانات تحميل مجموعات البيانات الجغرافية المكانية الخاصة بك، وتطبيق تنسيق مخصّص على عناصر البيانات فيها، وعرض عناصر البيانات هذه على الخرائط. باستخدام ميزة "تحديد الأنماط المستند إلى البيانات" لمجموعات البيانات، يمكنك إنشاء عروض مرئية للبيانات استنادًا إلى أشكال هندسية نقطية وخطية ومتعددة الأضلاع، وجعل ميزات البيانات تستجيب لأحداث النقر. تتوفّر ميزة "تحديد الأنماط المستند إلى البيانات" لمجموعات البيانات على الخرائط المتّجهة فقط (يجب توفير معرّف خريطة).
أضِف بياناتك المخصّصة باستخدام Google Cloud Console أو Google Cloud Shell. تحتوي كل مجموعة بيانات على معرّف فريد يمكنك ربطه بنمط خريطة. تتوفّر تنسيقات البيانات التالية:
لتصميم مجموعة بيانات، يجب ربط نمط خريطة برقم تعريف خريطة، ما يؤدي أيضًا إلى ربط مجموعة البيانات برقم تعريف الخريطة. في أحد التطبيقات، يمكن للمطوّرين الرجوع إلى معرّف الخريطة هذا، وأي نمط خريطة وبيانات جغرافية مكانية مرتبطة به. ولا يتم تطبيق أي عناصر تحكّم إضافية في الوصول إلى البيانات الجغرافية المكانية، ما يجعلها متاحة بشكل فعّال للجميع من خلال التطبيق.
ميزات بيانات الأنماط
بعد تحميل بياناتك المخصّصة وربطها بنمط خريطة ومعرّف خريطة، يمكنك تصميم عناصر البيانات لتحقيق تأثير مرئي، وجعل العناصر تستجيب لأحداث النقر.
يمكنك تصميم بيانات النقاط لعرض مواقع جغرافية محدّدة على الخريطة.
يمكنك تصميم بيانات الخطوط المتعددة لتسليط الضوء على الخصائص الجغرافية.
تنسيق بيانات المضلّعات لإبراز المناطق الجغرافية
اجعل ميزات البيانات تستجيب لأحداث النقر من خلال إضافة أداة معالجة الأحداث.
الأداء عند عرض عدد كبير من ميزات البيانات
عند عرض عدد كبير من ميزات البيانات، قد تلاحظ مشاكل في الأداء في تطبيقك. على سبيل المثال، قد تلاحظ تأخّرًا في الأداء أو مشاكل في ثبات التطبيق أثناء التكبير أو التدوير.
تاريخ التعديل الأخير: 2025-08-16 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","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 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]