googlemaps/google-maps-ios-utils là dự án Mobile trên GitHub, viết chủ yếu bằng Objective-C, với 773 sao. Google Maps SDK for iOS Utility Library
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
[!IMPORTANT]
You also need to install the Maps SDK for iOS, which is also supported in Swift Package Manager at the URL https://github.com/googlemaps/ios-maps-sdk
Select the
version
of the Maps SDK for iOS Utility Library that you want to use. For new projects, we recommend specifying the latest version and using the "Up to next Major" option. See Release Notes for this library and the Maps SDK for iOS to select the correct version for you.
(Recommended) Version 6.x supports the Maps SDK for iOS v9.x
Version 5.0 supports the Maps SDK for iOS v8.x
Version 4.2.2 supports the Maps SDK for iOS v7.x
Follow the
instructions to add your API key to your app.
See the Importing section for import statements specific to SPM installation.
CocoaPods
In your Podfile:
use_frameworks!
target 'TARGET_NAME' do
pod 'GoogleMaps', '10.0.0'
pod 'Google-Maps-iOS-Utils', '7.1.0' # x-release-please-version
end
(You can omit the comment "x-release-please-start-version" which is used for release automation.)
Replace TARGET_NAME and save the Podfile.
At the command line in directory containing your Podfile, run:
pod install
Open the .xcworkspace file that is created.
Follow the
instructions to add your API key to your app.
See the Importing section for import statements specific to CocoaPods installation.
Carthage
Only supported if using Maps SDK v7.1.0 or earlier
See the Carthage doc for further installation instructions.
Sample App
See the README for the Swift and Objective-C samples apps in /samples.
Documentation
Read documentation about this utility library on developers.google.com or within the /docs directory.
Usage
Importing
You may also need to import GoogleMaps.
Swift:
import GoogleMapsUtils
Objective-C:
@import GoogleMapsUtils;
Clustering markers
import GoogleMaps
import GoogleMapsUtils
class MarkerClustering: UIViewController, GMSMapViewDelegate {
private var mapView: GMSMapView!
private var clusterManager: GMUClusterManager!
override func viewDidLoad() {
super.viewDidLoad()
// Set up the cluster manager with the supplied icon generator and
// renderer.
let iconGenerator = GMUDefaultClusterIconGenerator()
let algorithm = GMUNonHierarchicalDistanceBasedAlgorithm()
let renderer = GMUDefaultClusterRenderer(mapView: mapView,
clusterIconGenerator: iconGenerator)
clusterManager = GMUClusterManager(map: mapView, algorithm: algorithm,
renderer: renderer)
// Register self to listen to GMSMapViewDelegate events.
clusterManager.setMapDelegate(self)
// ...
}
// ...
}
let markerArray = [marker1, marker2, marker3, marker4] // define your own markers
clusterManager.add(markerArray)
clusterManager.cluster()
Displaying KML data
import GoogleMaps
import GoogleMapsUtils
func renderKml() {
// Parse KML
let path: String = // Path to your KML file...
let kmlUrl = URL(fileURLWithPath: path)
let kmlParser = GMUKmlParser(url: kmlUrl)
kmlParser.parse()
// Render parsed KML
let renderer = GMUGeometryRenderer(
map: mapView,
geometries: kmlParser.placemarks,
styles: kmlParser.styles,
styleMaps: kmlParser.styleMaps
)
renderer.render()
}
Contributing
Contributions are welcome and encouraged. Please see the contributing guide for guidance.
Terms of Service
This library uses Google Maps Platform services. Use of Google Maps Platform services through this library is subject to the Google Maps Platform Terms of Service.
European Economic Area (EEA) developers
If your billing address is in the European Economic Area, effective on 8 July 2025, the Google Maps Platform EEA Terms of Service will apply to your use of the Services. Learn more.
This library is not a Google Maps Platform Core Service. Therefore, the Google Maps Platform Terms of Service (e.g. Technical Support Services, Service Level Agreements, and Deprecation Policy) do not apply to the code in this library.
Support
This library is offered via an open source license. It is not governed by the Google Maps Platform Support Technical Support Services Guidelines, the SLA, or the Deprecation Policy (however, any Google Maps Platform services used by the library remain subject to the Google Maps Platform Terms of Service).
This library adheres to semantic versioning to indicate when backwards-incompatible changes are introduced. Accordingly, while the library is in version 0.x, backwards-incompatible changes may be introduced at any time.
If you find a bug, or have a feature request, please file an issue on GitHub. If you would like to get answers to technical questions from other Google Maps Platform developers, ask through one of our developer community channels. If you'd like to contribute, please check the contributing guide.
You can also discuss this library on our Discord server.
googlemaps/google-maps-ios-utils có bao nhiêu sao?
googlemaps/google-maps-ios-utils có 773 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/googlemaps/google-maps-ios-utils. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
googlemaps/google-maps-ios-utils có những chủ đề gì?
GitHub topics của googlemaps/google-maps-ios-utils: "cocoapods", "google-maps", "ios", "objective-c", "swift", "utility-library". TopGit xếp repo vào nhóm Mobile.
googlemaps/google-maps-ios-utils còn đang phát triển không?
Commit gần nhất trên googlemaps/google-maps-ios-utils là 22 ngày trước (theo timestamp GitHub). Repo có 439 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
googlemaps/google-maps-ios-utils là gì?
googlemaps/google-maps-ios-utils (googlemaps/google-maps-ios-utils) là dự án Objective-C trên GitHub. Theo mô tả gốc: Google Maps SDK for iOS Utility Library
googlemaps/google-maps-ios-utils so với các dự án Mobile khác thế nào?
googlemaps/google-maps-ios-utils được TopGit xếp vào nhóm Mobile, với 773 sao GitHub và viết bằng Objective-C. Xem trang chủ đề Mobile trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
googlemaps/google-maps-ios-utils viết bằng ngôn ngữ gì?
googlemaps/google-maps-ios-utils chủ yếu viết bằng Objective-C. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Vì sao googlemaps/google-maps-ios-utils được xếp vào nhóm Mobile?
TopGit xếp googlemaps/google-maps-ios-utils vào nhóm Mobile dựa trên GitHub topics và mô tả của repo (gắn thẻ: "cocoapods", "google-maps", "ios"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về google-maps-ios-utils?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về google-maps-ios-utils.