Gezinme SDK'sına genel bakış
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Navigation SDK, Google Haritalar'ın adım adım navigasyon özelliğini mobil uygulamalarınıza entegre etmenize olanak tanır. Önemli olarak, mevcut rota segmenti ve nihai hedef verilerini sağlar. Bu veriler, sürücü SDK'sından alınan konum güncellemeleri ve enlem/boylam koordinatlarıyla birlikte sürücünüz sürüşe başladığında Fleet Engine'e gönderilir. Bu sayede eksiksiz bir sürüş deneyimi elde edersiniz.
Neden Navigation SDK'yı kullanmalısınız?
Navigasyon SDK'sı, sürücü rotalarındaki güncellemeler için Fleet Engine ile daha kolay entegrasyon sağlar. Navigation SDK'yı Driver SDK ile birlikte kullanmak, sürücünüzün görevleri yönetmek ve Google Haritalar'ın tüketici sürümünü kullanıyormuş gibi gezinmek için tek bir uygulamayı kullanmasını sağlar. Sürücünün başka bir uygulamaya geçmesi gerekmez.
Navigation SDK ile yapabilecekleriniz
Aşağıdaki bilgileri Fleet Engine ile iletmek için Navigation SDK'yı kullanın.
- Google Haritalar tarafından desteklenen güvenilir adım adım navigasyon talimatları.
- Sürücü SDK'sı tarafından sağlanan enlem/boylam koordinatlarına göre özelleştirilmiş rotalar.
- Önemli gezinme bilgilerini vurgulamak ve gezinme deneyimini kişiselleştirmek için özel işaretçiler, yer paylaşımları ve kullanıcı arayüzü öğeleri gibi özelleştirilmiş harita öğeleri.
Navigation SDK'nın işleyiş şekli
Navigation SDK, Fleet Engine'e rota bilgileri ve hedef sağlar. Driver SDK ise konum güncellemeleri, enlem/boylam koordinatları, kalan mesafe ve tahmini varış zamanları akışı sağlar. Diğer tüm araç verisi güncellemeleri, verileri Fleet Engine'e ileten müşteri arka ucuna gönderilmelidir.

Navigation SDK'yı kullanma
Aşağıdaki adımlarda, Navigation SDK'yı sürücü uygulamanıza dahil etmeyle ilgili tipik bir kullanım alanı senaryosu ele alınmaktadır:
Android
1 |
Google Cloud projenizi oluşturun |
Navigation SDK'yı kullanmadan önce bir Google Cloud projesi oluşturun. Daha fazla bilgi için Google Cloud projenizi ayarlama başlıklı makaleyi inceleyin. |
2 |
Navigasyon SDK'sını API anahtarınıza ekleme |
API anahtarı, isteklerinizin kimliğini doğrulayan benzersiz bir tanımlayıcıdır. Navigation SDK'yı kullanmak için projenizle en az bir API anahtarı ilişkilendirin. Daha fazla bilgi için API anahtarlarını kullanma başlıklı makaleye bakın. |
3 |
Android Studio projenizi oluşturma |
Android projesi oluşturun ve Navigation SDK'yı bu projeye entegre edin. Daha fazla bilgi için Android Studio projenizi ayarlama başlıklı makaleyi inceleyin. |
4 |
Driver SDK'yı projenize ekleme |
Tüm Fleet Engine özelliklerinden yararlanmaya başlamak için Sürücü SDK'sını yükleyip yapılandırın. Daha fazla bilgi için Get the Driver SDK for on-demand trips (Talep üzerine yolculuklar için Sürücü SDK'sını edinme) ve Get the Driver SDK for scheduled tasks (Planlanmış görevler için Sürücü SDK'sını edinme) başlıklı makaleleri inceleyin. |
iOS
1 |
Google Cloud projenizi oluşturun |
Navigation SDK'yı kullanmadan önce bir Google Cloud projesi oluşturun. Daha fazla bilgi için Google Cloud projenizi ayarlama başlıklı makaleyi inceleyin. |
2 |
Navigasyon SDK'sını API anahtarınıza ekleme |
API anahtarı, isteklerinizin kimliğini doğrulayan benzersiz bir tanımlayıcıdır. Navigation SDK'yı kullanmak için projenizle en az bir API anahtarı ilişkilendirin. Daha fazla bilgi için API anahtarlarını kullanma başlıklı makaleye bakın. |
3 |
Xcode projenizi oluşturma |
Bir Xcode projesi oluşturun ve Navigation SDK'yı bu projeye yükleyin. Daha fazla bilgi için Xcode projenizi ayarlama başlıklı makaleyi inceleyin. |
4 |
Driver SDK'yı projenize ekleme |
Tüm Fleet Engine özelliklerinden yararlanmaya başlamak için Sürücü SDK'sını yükleyip yapılandırın. Daha fazla bilgi için Get the Driver SDK for on-demand trips (Talep üzerine yolculuklar için Sürücü SDK'sını edinme) ve Get the Driver SDK for scheduled tasks (Planlanmış görevler için Sürücü SDK'sını edinme) başlıklı makaleleri inceleyin. |
Navigasyon SDK'sı özellikleri hakkında daha fazla bilgi edinmek için Android ve iOS için Navigasyon SDK'sı ile ilgili tüm belgelere bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-31 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-31 UTC."],[[["\u003cp\u003eThe Navigation SDK enables turn-by-turn navigation within your mobile apps, seamlessly integrating with Google Maps and Fleet Engine for real-time route and location updates.\u003c/p\u003e\n"],["\u003cp\u003eWhen used with the Driver SDK, it provides a comprehensive driving experience within a single app, eliminating the need for drivers to switch between navigation and task management.\u003c/p\u003e\n"],["\u003cp\u003eThe SDK offers customizable routes, map elements, and navigation instructions powered by Google Maps, ensuring a tailored and efficient navigation experience for drivers.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize the Navigation SDK, developers need to set up a Google Cloud project, integrate the SDK into their Android or iOS project, and add the Driver SDK for comprehensive Fleet Engine functionality.\u003c/p\u003e\n"]]],[],null,["The Navigation SDK lets you to integrate Google Maps turn-by-turn navigation\ninto your mobile applications. Crucially, it provides\ncurrent route segment and final destination data, which, along with location\nupdates and latitude/longitude coordinates from the Driver SDK, are sent to the\nFleet Engine when your driver begins driving. This results in a complete driving\nexperience.\n\nWhy use the Navigation SDK?\n\nThe Navigation SDK enables easier integration with Fleet Engine for updates to\nthe driver's routes. Using the Navigation SDK along with the Driver SDK enables\nyour driver can use a single app to manage assignments and navigate as they\nwould using their consumer version of Google Maps, without having to switch to\nanother app.\n\nWhat can you do with the Navigation SDK?\n\nUse the Navigation SDK to communicate the following with Fleet Engine.\n\n- Reliable turn-by-turn navigation instructions powered by Google Maps.\n- Customized routes based on the latitude/longitude coordinates provided by the Driver SDK.\n- Customized map elements, such as custom markers, overlays, and UI elements to highlight key navigation information and to personalize the navigation experience.\n\nHow the Navigation SDK works\n\nThe Navigation SDK provides routing information and destination to Fleet Engine,\nwhile the Driver SDK provides a stream of location updates, latitude/longitude\ncoordinates, remaining distance, and ETAs. All other vehicle data updates must\nbe sent to the customer backend, which relays the data to Fleet Engine.\n\nHow to use the Navigation SDK\n\nThe steps below cover a typical use-case scenario for incorporating the\nNavigation SDK into your driver application: \n\nAndroid\n\n|---|--------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Set up your Google Cloud project** | Create a Google Cloud project before using the Navigation SDK. For more information, see [Set up your Google Cloud project](/maps/documentation/navigation/android-sdk/cloud-setup). |\n| 2 | **Add the Navigation SDK to your API key** | The API key is a unique identifier that authenticates your requests, associate at least one API key with your project to use the Navigation SDK. For more information, see [Using API keys](/maps/documentation/navigation/android-sdk/get-api-key). |\n| 3 | **Set up your Android Studio project** | Create an Android project and integrate the Navigation SDK into it. For more information, see [Set up your Android Studio project](/maps/documentation/navigation/android-sdk/android-studio-setup). |\n| 4 | **Add the Driver SDK to your project** | Install and configure the Driver SDK to start taking advantage of all the Fleet Engine features. For more information, see [Get the Driver SDK for on-demand trips](/maps/documentation/mobility/driver-sdk/on-demand/android/minimum-requirements) and [Get the Driver SDK for scheduled tasks](/maps/documentation/mobility/driver-sdk/scheduled/android/minimum-requirements). |\n\niOS\n\n|---|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Set up your Google Cloud project** | Create a Google Cloud project before using the Navigation SDK. For more information, see [Set up your Google Cloud project](/maps/documentation/navigation/ios-sdk/cloud-setup). |\n| 2 | **Add the Navigation SDK to your API key** | The API key is a unique identifier that authenticates your requests, associate at least one API key with your project to use the Navigation SDK. For more information, see [Using API keys](/maps/documentation/navigation/ios-sdk/get-api-key). |\n| 3 | **Set up your Xcode project** | Create an Xcode project and install the Navigation SDK into it. For more information, see [Set up your Xcode project](/maps/documentation/navigation/ios-sdk/xcode-setup). |\n| 4 | **Add the Driver SDK to your project** | Install and configure the Driver SDK to start taking advantage of all the Fleet Engine features. For more information, see [Get the Driver SDK for on-demand trips](/maps/documentation/mobility/driver-sdk/on-demand/ios/minimum-requirements) and [Get the Driver SDK for scheduled tasks](/maps/documentation/mobility/driver-sdk/scheduled/ios/minimum-requirements). |\n\nFor more information about the Navigation SDK features, see the complete\ndocumentation for Navigation SDK for\n[Android](/maps/documentation/navigation/android-sdk) and\n[iOS](/maps/documentation/navigation/ios-sdk)."]]