ภาพรวม SDK การนำทาง
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Navigation SDK ช่วยให้คุณผสานรวมการนำทางแบบเลี้ยวต่อเลี้ยวของ Google Maps
เข้ากับแอปพลิเคชันบนอุปกรณ์เคลื่อนที่ได้ ที่สำคัญคือจะให้ข้อมูลส่วนเส้นทางปัจจุบันและจุดหมายสุดท้าย ซึ่งจะส่งไปยัง Fleet Engine พร้อมกับการอัปเดตตำแหน่งและพิกัดละติจูด/ลองจิจูดจาก Driver SDK เมื่อคนขับเริ่มขับรถ
ซึ่งจะทำให้คุณได้รับประสบการณ์การขับขี่ที่สมบูรณ์แบบ
เหตุผลที่ควรใช้ Navigation SDK
Navigation SDK ช่วยให้ผสานรวมกับ Fleet Engine ได้ง่ายขึ้นเพื่ออัปเดต
เส้นทางของคนขับ การใช้ Navigation SDK ร่วมกับ Driver SDK ช่วยให้
คนขับใช้แอปเดียวเพื่อจัดการงานและนำทางได้เหมือนกับที่ใช้ Google Maps เวอร์ชันสำหรับผู้บริโภค
โดยไม่ต้องเปลี่ยนไปใช้แอปอื่น
คุณใช้ Navigation SDK ทำอะไรได้บ้าง
ใช้ Navigation SDK เพื่อสื่อสารข้อมูลต่อไปนี้กับ Fleet Engine
- คำสั่งการนำทางแบบเลี้ยวต่อเลี้ยวที่เชื่อถือได้ซึ่งขับเคลื่อนโดย Google Maps
- เส้นทางที่กำหนดเองตามพิกัดละติจูด/ลองจิจูดที่ได้รับจาก Driver SDK
- องค์ประกอบแผนที่ที่ปรับแต่งแล้ว เช่น เครื่องหมายที่กำหนดเอง การวางซ้อน และองค์ประกอบ UI เพื่อ
ไฮไลต์ข้อมูลการนำทางที่สำคัญและปรับเปลี่ยนประสบการณ์การนำทางในแบบของคุณ
วิธีการทำงานของ Navigation SDK
Navigation SDK จะให้ข้อมูลการกำหนดเส้นทางและปลายทางแก่ Fleet Engine
ขณะที่ Driver SDK จะให้สตรีมการอัปเดตตำแหน่ง พิกัดละติจูด/ลองจิจูด
ระยะทางที่เหลือ และเวลาถึงโดยประมาณ การอัปเดตข้อมูลยานพาหนะอื่นๆ ทั้งหมดต้อง
ส่งไปยังแบ็กเอนด์ของลูกค้า ซึ่งจะส่งต่อข้อมูลไปยัง Fleet Engine

วิธีใช้ Navigation SDK
ขั้นตอนด้านล่างครอบคลุมสถานการณ์กรณีการใช้งานทั่วไปสำหรับการรวม
Navigation SDK เข้ากับแอปพลิเคชันของคนขับ
ดูข้อมูลเพิ่มเติมเกี่ยวกับฟีเจอร์ของ Navigation SDK ได้ที่เอกสารประกอบฉบับสมบูรณ์สำหรับ Navigation SDK สำหรับ Android และ iOS
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 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)."]]