به دنبال ویژگی های پیشرفته برای اضافه کردن به نقشه های خود هستید؟ Maps SDK for iOS Utility Library در GitHub یک کتابخانه منبع باز از کلاس ها است که برای طیف وسیعی از برنامه ها مفید است. مخزن GitHub شامل کلاس های کاربردی و یک برنامه آزمایشی است که استفاده از هر کلاس را نشان می دهد.
آب و برق
خوشه بندی نشانگر
GMUClusterManager به شما کمک می کند چندین نشانگر را در سطوح بزرگنمایی مختلف مدیریت کنید. این بدان معناست که شما می توانید تعداد زیادی نشانگر را روی نقشه قرار دهید بدون اینکه خوانش نقشه را سخت کند. وقتی کاربر نقشه را در سطح زوم بالا مشاهده می کند، نشانگرهای جداگانه روی نقشه نشان داده می شوند. هنگامی که کاربر به سطح زوم کمتری بزرگنمایی میکند، نشانگرها به صورت دستههایی جمع میشوند تا مشاهده نقشه را آسانتر کنند.
چهار درخت یک ساختار داده ای است که برای یافتن نقاط نزدیک به یک نقطه، با جستجو در منطقه اطراف نقطه مورد نظر مفید است.
برای جزئیات، به مستندات مربوط به Quadtree مراجعه کنید.
KML
KML یک فرمت محبوب برای ارائه داده های جغرافیایی مانند نقاط، خطوط و چند ضلعی ها است. GMUKMLParser به شما امکان می دهد داده های جغرافیایی را در قالب KML تجزیه و رندر کنید.
میتوانید ویژگیها را در قالب GeoJSON ذخیره کنید و از این ابزار برای رندر کردن آنها به صورت یک لایه در بالای نقشه استفاده کنید. داده های جغرافیایی را در قالب GeoJSON با استفاده از GMUGeoJSONParser در ارتباط با GMUGeometryRenderer ارائه دهید.
برای جزئیات، به مستندات مربوط به GeoJSON مراجعه کنید.
نقشه های حرارتی
نقشه های حرارتی درک توزیع و شدت نسبی نقاط داده روی نقشه را برای بینندگان آسان می کند. به جای قرار دادن نشانگر در هر مکان، نقشه های حرارتی از رنگ و شکل برای نمایش توزیع داده ها استفاده می کنند.
برای جزئیات، به مستندات مربوط به Heatmaps مراجعه کنید.
نشانگرهای سفارشی
از نماینده GMUClusterRendererDelegate در GMUDefaultClusterRenderer برای سفارشی کردن خصوصیات یک نشانگر قبل و بعد از اضافه شدن به نقشه استفاده کنید.
ابزارهای هندسه
مجموعه ای از توابع کاربردی هندسه کروی Swift ماژول GMSGeometryUtils از Maps SDK برای iOS. از این پسوندها برای انجام بسیاری از عملیات هندسی استفاده کنید، از جمله:
فاصله دایره بزرگ بین مختصات را تعیین کنید
تعیین کنید که یک مختصات داخل یک چند ضلعی است یا خیر
تعیین کنید که آیا یک مختصات روی یک مسیر در یک تلورانس مشخص قرار دارد یا نزدیک
تاریخ آخرین بهروزرسانی 2025-07-23 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-23 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Maps SDK for iOS Utility Library is an open-source library providing advanced features for your maps.\u003c/p\u003e\n"],["\u003cp\u003eThis library offers utilities for marker clustering, quadtrees, KML parsing, GeoJSON rendering, heatmaps, custom markers, and geometry operations.\u003c/p\u003e\n"],["\u003cp\u003eThe library includes a demo app demonstrating the use of each class.\u003c/p\u003e\n"],["\u003cp\u003eAccess the Maps SDK for iOS Utility Library and its documentation on GitHub.\u003c/p\u003e\n"]]],["The Maps SDK for iOS Utility Library offers tools for enhancing maps, including marker clustering via `GMUClusterManager` for managing numerous markers at different zoom levels. It also supports quadtrees for proximity searches, KML and GeoJSON format parsing for rendering geographic data, and heatmaps for visualizing data density. The library allows custom marker properties through `GMUClusterRendererDelegate` and provides geometry utilities (`GMSGeometryUtils`) for tasks like distance calculation and polygon analysis.\n"],null,["Select platform: [Android](/maps/documentation/android-sdk/utility \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/utility \"View this page for the iOS platform docs.\")\n\nLooking for advanced features to add to your maps? The\n[Maps SDK for iOS\nUtility Library](https://github.com/googlemaps/google-maps-ios-utils) on GitHub is an open-source library of classes that are\nuseful for a range of applications. The GitHub repository includes the utility\nclasses and a demo app that illustrates the use of each class.\n\nThe utilities\n\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Marker Clustering The `GMUClusterManager` helps you manage multiple markers at different zoom levels. This means you can put a large number of markers on a map without making the map hard to read. When a user views the map at a high zoom level, the individual markers show on the map. When the user zooms out to a lower zoom level, the markers gather together into clusters, to make viewing the map easier. For details, see the documentation on the [Marker Clustering](/maps/documentation/ios-sdk/utility/marker-clustering). |\n| No image for this utility. | Quadtree A quadtree is a data structure that's useful for finding points near a single point, by searching inside an area surrounding the point of interest. For details, see the documentation on the [Quadtree](/maps/documentation/ios-sdk/utility/quadtree). |\n| | KML KML is a popular format for rendering geographic data such as points, lines, and polygons. The `GMUKMLParser` lets you parse and render geographic data in the KML format. For details, see the documentation on the [KML](/maps/documentation/ios-sdk/utility/kml). |\n| | Import GeoJSON onto your map You can store features in [GeoJSON](http://geojson.org/) format and use this utility to render them as a layer on top of a map. Render geographic data in the GeoJSON format using `GMUGeoJSONParser` in conjunction with `GMUGeometryRenderer`. For details, see the documentation on the [GeoJSON](/maps/documentation/ios-sdk/utility/geojson). |\n| | Heatmaps Heatmaps make it easy for viewers to understand the distribution and relative intensity of data points on a map. Rather than placing a marker at each location, heatmaps use color and shape to represent the distribution of data. For details, see the documentation on the [Heatmaps](/maps/documentation/ios-sdk/utility/heatmap). |\n| | Custom markers Use the delegate [`GMUClusterRendererDelegate`](https://github.com/googlemaps/google-maps-ios-utils/blob/master/src/Clustering/View/GMUDefaultClusterRenderer.h) on `GMUDefaultClusterRenderer` to customize the properties of a marker before and after it is added to the map. |\n| | Geometry utilities A set of Swift spherical geometry utility functions of the [`GMSGeometryUtils`](/maps/documentation/ios-sdk/reference/objc/Functions) module of the Maps SDK for iOS. Use these extensions to perform many types of geometric operations, including: - Determine the great circle distance between coordinates - Determine if a coordinate is inside a polygon - Determine if a coordinate lies on or near a path within a specified tolerance - Determine the area of this polygon - many others |"]]