Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Pakiet Navigation SDK umożliwia bezproblemowe zintegrowanie nawigacji zakręt po zakręcie w Mapach Google bezpośrednio z aplikacjami mobilnymi. Pakiet SDK umożliwia dostosowywanie interfejsu do wyglądu i stylu marki oraz zaawansowaną konfigurację tras.
Zapewnianie konfigurowalnych funkcji nawigacji w aplikacji pomaga zwiększać wydajność operacyjną, poprawiać zaangażowanie użytkowników i uzyskiwać cenne statystyki oparte na danych.
Dlaczego warto korzystać z pakietu Navigation SDK?
Integracja nawigacji z aplikacją pozwala zapewnić użytkownikom lepsze wrażenia, a także zastosować własną markę i wykorzystać dane o podróżach:
Kontroluj całe środowisko i zwiększaj zaangażowanie, utrzymując użytkowników w aplikacji podczas nawigacji. Nie będą oni musieli przełączać się między aplikacjami.
Spersonalizuj nawigację, aby dopasować ją do wyglądu i stylu Twojej marki, korzystając z elementów interfejsu użytkownika, które można dostosowywać.
Wykorzystuj dane o lokalizacji i zdarzeniach z wyznaczania tras przejazdów do celów analitycznych, optymalizacji, komunikacji z klientami i monitorowania w czasie rzeczywistym.
Co można robić za pomocą pakietu Navigation SDK?
Pakiet Navigation SDK umożliwia tworzenie kompleksowych funkcji nawigacji w aplikacji:
Zapewnij użytkownikom bezproblemową i niezawodną nawigację zakręt po zakręcie opartą na Mapach Google.
Obsługuje różne środki transportu, w tym samochody, pieszych, rowery i pojazdy dwukołowe.
Wdrażaj niestandardowe znaczniki, nakładki i elementy interfejsu, aby wyróżniać kluczowe informacje nawigacyjne i dostosowywać nawigację do swojej marki.
Dostęp do danych o przejazdach, aby analizować trendy, określać obszary wymagające poprawy i optymalizować działania.
Jak działa pakiet Navigation SDK
Pakiet Navigation SDK umożliwia dodawanie do aplikacji zarówno map, jak i funkcji nawigacji. Dwa główne komponenty pakietu Navigation SDK to:
Warstwa mapy: zacznij od warstwy mapy, w tym widoku mapy, stylu, elementów interfejsu, kamery i zachowania interakcji. Pakiet Navigation SDK zawiera funkcje mapy z Maps SDK, a aplikacje, które go zawierają, nie mogą zawierać Maps SDK. Jeśli Twoja aplikacja korzysta z pakietu Maps SDK, musisz go usunąć, aby używać pakietu Navigation SDK. Interfejs API Map jest jednak niemal identyczny w pakiecie Navigation SDK, więc zwykle nie musisz aktualizować implementacji, poza usunięciem pakietu Maps SDK. Informacje o różnicach między interfejsem API Map i funkcjami pakietów SDK Map i Navigation SDK znajdziesz na stronie Omówienie w sekcji Dokumentacja.
Nawigacja: dodaj nawigację za pomocą elementu, który zawiera nakładkę nawigacji krok po kroku, karty z kolejnymi krokami i dodatkowe elementy interfejsu. Możesz użyć nawigacji Google lub utworzyć własną nawigację niestandardową.
Jak korzystać z pakietu Navigation SDK
Poniższe kroki opisują typowy scenariusz użycia pakietu Navigation SDK:
1
Konfiguracja
Utwórz projekt Google Cloud, dodaj Navigation SDK do klucza interfejsu API i skonfiguruj projekt Android Studio. Więcej informacji znajdziesz w artykule Konfigurowanie projektu.
Dostosuj nawigację i wygląd, modyfikując wbudowane elementy sterujące interfejsu i elementy wyświetlane na mapie. Więcej informacji znajdziesz w artykule Modyfikowanie interfejsu nawigacji.
4
Dostosowywanie szczegółów routingu
zmieniać preferencje dotyczące wyznaczania trasy i zarządzać punktami pośrednimi. Więcej informacji znajdziesz w sekcji Wyznaczanie trasy.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eThe Navigation SDK enables integrating Google Maps turn-by-turn navigation directly into your mobile apps, offering UI customization and advanced route configuration.\u003c/p\u003e\n"],["\u003cp\u003eIt enhances user engagement by providing a seamless in-app navigation experience, eliminating the need to switch between apps.\u003c/p\u003e\n"],["\u003cp\u003eBusinesses can leverage the SDK to personalize the navigation experience with custom branding, optimize routes, and gain valuable data-driven insights from trip data.\u003c/p\u003e\n"],["\u003cp\u003eThe Navigation SDK replaces the Maps SDK for both map layer and navigation features within your app, providing a comprehensive solution for in-app navigation.\u003c/p\u003e\n"],["\u003cp\u003eYou can seamlessly guide users with turn-by-turn directions, support various transportation modes, implement custom UI elements, and access trip data for analysis and optimizations.\u003c/p\u003e\n"]]],[],null,["# Navigation SDK overview\n\nThe Navigation SDK lets you seamlessly integrate the Google Maps turn-by-turn\nnavigation experience directly into your mobile applications. The SDK offers UI\ncustomization for brand look and feel and advanced route configuration.\nProviding customizable, in-app navigation experiences helps you enhance\noperational efficiency, improve user engagement, and gain valuable data-driven\ninsights.\n| **Note:** **European Economic Area (EEA)** : The default user interface and functionality of the Navigation SDK are deemed fully compliant with the [EEA Safety Requirements](https://cloud.google.com/terms/maps-platform/eea-safety-requirements).\n\nWhy use the Navigation SDK?\n---------------------------\n\nIntegrating navigation into your app lets you provide a superior experience for\nyour users, while applying your own branding and leveraging trip data:\n\n- Control the end-to-end experience and increase engagement by keeping users within your app during navigation, eliminating the need to switch between apps.\n- Personalize the navigation experience to match your brand's look and feel with customizable UI elements.\n- Optimize the route experience by managing routing preferences, destinations, and waypoints.\n- Utilize location and event data from trip routing for analytics, optimizations, customer communications, and real-time monitoring.\n\nWhat can you do with the Navigation SDK?\n----------------------------------------\n\nThe Navigation SDK lets you create a comprehensive in-app navigation experience:\n\n- Provide your users with a seamless and reliable turn-by-turn navigation experience powered by Google Maps.\n- Support various modes of transportation, including driving, walking, cycling, and two-wheel vehicles.\n- Implement custom markers, overlays, and UI elements to highlight key navigation information and to personalize the navigation experience to match your brand.\n- Access trip data to analyze trends, identify areas for improvement, and optimize operations.\n\nHow the Navigation SDK works\n----------------------------\n\nYou can use the Navigation SDK to incorporate both maps and navigation features\ninto your app. The two main components of the Navigation SDK are:\n\n- **Map Layer** : Begin with a map layer, including map view, styling, UI controls, camera, and interaction behavior. The Navigation SDK includes the map functionality from the [Maps SDK](/maps/documentation/android-sdk), and apps that include the Navigation SDK cannot include the Maps SDK. If your app uses the Maps SDK, you need to remove it in order to use the Navigation SDK. However, the maps API is nearly identical in the Navigation SDK, so you typically don't need to update your implementation, other than removing the Maps SDK. For information on the maps API and functionality differences between the Maps SDK and the Navigation SDK, see the [Overview](https://developers.google.com/maps/documentation/navigation/android-sdk/reference) page in the Reference section\n- **Navigation Experience** : Add the navigation experience using the, which includes the turn-by-turn navigation overlay, turn cards, and additional UI elements. You can either use the [Google Navigation\n experience](/maps/documentation/navigation/android-sdk/intro-google-nav) or build your own [custom navigation\n experience](/maps/documentation/navigation/android-sdk/intro-custom-nav).\n\n| **Note:** If your app already uses the [Maps SDK](/maps/documentation/android-sdk), the Navigation SDK replaces the Maps SDK for both map layer and navigation features. You cannot use the Navigation SDK and Maps SDK in the same app.\n\nHow to use the Navigation SDK\n-----------------------------\n\nThe steps below cover a typical use case scenario for using the Navigation SDK:\n\n|---|----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Get set up** | Create a Google Cloud project, add the Navigation SDK to your API key, and set up your Android Studio project. For more information, see [Set up your project](/maps/documentation/navigation/android-sdk/set-up-project). |\n| 2 | **Navigate to your first route** | Plot a route within your app to a single destination. For more information, see [Navigate a single-destination route](/maps/documentation/navigation/android-sdk/route). |\n| 3 | **Modify the navigation UI** | Customize the navigation experience and visual appearance by modifying the built-in UI controls and elements appear on the map. For more information, see [Modify the navigation UI](/maps/documentation/navigation/android-sdk/controls). |\n| 4 | **Adjust routing details** | Modify routing preferences and manage waypoints. For more information, see [Route experience](/maps/documentation/navigation/android-sdk/intro-route-experience). |\n\nFor more information about the Navigation SDK features, see\n[Reference](/maps/documentation/navigation/android-sdk/reference), or [Try\nthe demo](/maps/documentation/navigation/android-sdk/try-demo)."]]