نمای کلی
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پلتفرم را انتخاب کنید: Android iOS JavaScript سبکسازی مبتنی بر داده برای مجموعههای داده به شما امکان میدهد مجموعه دادههای جغرافیایی خود را آپلود کنید، استایل سفارشی را برای ویژگیهای داده آنها اعمال کنید و آن ویژگیهای داده را روی نقشهها نمایش دهید. با استایلسازی مبتنی بر داده برای مجموعههای داده، میتوانید تجسم دادهها را بر اساس هندسه نقطه، چند خط و چند ضلعی ایجاد کنید و ویژگیهای داده را به رویدادهای ضربه بزنید. یک ظاهر طراحی مبتنی بر داده برای مجموعه دادهها فقط در نقشههای برداری پشتیبانی میشود (شناسه نقشه مورد نیاز است).
با طراحی داده محور برای مجموعه داده ها شروع کنید
مجموعه داده های جغرافیایی سفارشی را اضافه کنید
داده های سفارشی خود را با استفاده از Google Cloud Console یا Google Cloud Shell اضافه کنید. هر مجموعه داده یک شناسه منحصر به فرد دارد که می توانید آن را با یک سبک نقشه مرتبط کنید. فرمت های داده زیر پشتیبانی می شوند:
- GeoJSON
- جدا شده با کاما (CSV)
- KML
برای جزئیات در مورد الزامات و محدودیت های مجموعه داده، به ایجاد و مدیریت یک مجموعه داده مراجعه کنید
درباره مجموعه داده های عمومی
به منظور استایل دادن به یک مجموعه داده، باید یک سبک نقشه را با شناسه نقشه مرتبط کنید، که همچنین مجموعه داده را با شناسه نقشه مرتبط می کند. در یک برنامه، توسعهدهندگان میتوانند به شناسه نقشه و هر سبک نقشه و دادههای مکانی مرتبط با آن ارجاع دهند. هیچ کنترل دسترسی اضافی برای دادههای مکانی اعمال نمیشود، و این باعث میشود که دادههای مکانی به طور مؤثر برای همه افراد دارای برنامه در دسترس عموم قرار گیرد.
ویژگی های داده های سبک
هنگامی که دادههای سفارشی شما آپلود شد و به سبک نقشه و شناسه نقشه مرتبط شد، میتوانید ویژگیهای داده را برای تأثیر بصری استایل دهید و ویژگیها را به رویدادهای ضربه زدن پاسخ دهید.
دادههای نقطهای را برای نمایش مکانهای خاص روی نقشه تغییر دهید.

داده های چند خطی را برای برجسته کردن ویژگی های جغرافیایی سبک کنید.

به داده های چند ضلعی برای برجسته کردن مناطق جغرافیایی سبک دهید.

با افزودن شنونده رویداد، ویژگیهای داده را به رویدادهای ضربه بزنید.

جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-29 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eData-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.\u003c/p\u003e\n"],["\u003cp\u003eYou can apply unique styling to point, polyline, and polygon data, enabling visualization of locations, geographical features, and areas, respectively.\u003c/p\u003e\n"],["\u003cp\u003eDatasets associated with map IDs are effectively public, accessible to anyone with the app referencing that ID.\u003c/p\u003e\n"],["\u003cp\u003eData features can be made interactive by adding event listeners, allowing them to respond to user interactions like taps.\u003c/p\u003e\n"],["\u003cp\u003eTo 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.\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 tap 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/ios-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/ios-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 tap 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 tap events by adding an event\nlistener."]]