Google のナビゲーション エクスペリエンス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Navigation SDK には、ナビゲーション エクスペリエンスをアプリに統合するさまざまな方法が用意されています。このページでは、Google ナビゲーション エクスペリエンスとは何か、Navigation SDK で利用できる他のナビゲーション エクスペリエンスとどのように異なるかについて説明します。
Google ナビゲーション エクスペリエンスとは
Google ナビゲーション エクスペリエンスとは、Navigation SDK を使用して、Google マップアプリ内のナビゲーション エクスペリエンスと同様の、Google 提供の UI 要素とビジュアルを使用するターンバイターン ナビゲーション エクスペリエンスを埋め込むことを指します。Google のナビゲーション機能をアプリに埋め込む場合、ナビゲーション機能をゼロから構築する必要はありませんが、機能の一部を変更することはできます。また、Google ナビゲーション エクスペリエンスで利用できる以上のカスタマイズが必要な場合は、Navigation SDK からターンバイターン ナビゲーション フィードをリクエストし、独自の UI 要素を提供して管理することもできます。
詳細については、
カスタム ナビゲーション エクスペリエンスをご覧ください。
Google ナビゲーション エクスペリエンスを使用する場合、アプリは Navigation SDK を呼び出して、次のフローでナビゲーションを開始、実行、停止します。
ナビを開始します。ナビゲーションを開始するには、アプリでナビゲーター インスタンスを作成します。そこから、ナビゲーターの宛先を設定し、地図を初期化します。最後に、アプリがターンバイターン方式のガイダンスを開始します。このアプリフローは、ユースケースに応じてさまざまな方法でユーザーに提示できます。たとえば、アプリに独自の UI 要素を備えた店舗検索機能があり、ユーザーがその UI 要素を使用して店舗へのナビゲーションを開始できる場合があります。また、配達タスクをドライバーが受け取ったときに、アプリが事前定義された目的地でアクティブ ナビゲーションを開始することもあります。
アクティブ ナビゲーション。アプリがアクティブなナビゲーションに入ると、デバイスの位置情報を使用してアクティブなガイダンスを維持します。ユースケースに意味のあるイベント リスナー(ルートの変更や目的地までの残り時間など)を構成します。ナビゲーション実行中、Navigation SDK は Google マップ アプリのものと同様の UI コンポーネントを提供します。たとえば、ナビゲーション エクスペリエンスでは、標準の Google マップのレイヤが表示され、ターンバイターン ナビゲーション カード、交通状況レイヤ、代替ルート、制限速度などのビジュアルが表示されます。
ナビゲーションを停止します。アプリは、ユースケースに最適な方法でナビゲーション セッションを終了します。たとえば、ユーザーが目的地に到着したときにトリガーされる到着リスナーを使用します。
Google ナビの操作をカスタマイズするにはどうすればよいですか?
一般に、Google ナビゲーションの操作性を変更して、さまざまな配色、カメラビュー、追加のターンガイダンス、イベント レスポンス トリガーを設定できます。以下に、調整できる項目の一部を示します。このリストはすべてを網羅したものではありません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[null,null,["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThe Navigation SDK offers the Google navigation experience, providing a pre-built, customizable turn-by-turn navigation feature similar to Google Maps.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can initiate, manage, and conclude navigation using the Navigation SDK, controlling aspects like destination setting and event handling.\u003c/p\u003e\n"],["\u003cp\u003eWhile utilizing the Google navigation experience, developers have the flexibility to customize UI elements such as color schemes, camera views, and turn guidance displays.\u003c/p\u003e\n"],["\u003cp\u003eFor advanced customization beyond the provided options, developers can opt for a custom navigation experience by requesting a turn-by-turn navigation feed and building their own UI.\u003c/p\u003e\n"]]],[],null,["# The Google navigation experience\n\nThe Navigation SDK provides different ways to integrate a navigation\nexperience into your app. This page explains what the Google navigation\nexperience is and how it differs from other navigation experiences that are\navailable in the Navigation SDK.\n\nWhat is the Google navigation experience?\n-----------------------------------------\n\nThe Google navigation experience refers to using the Navigation SDK to\nembed a turn-by-turn navigation experience that uses Google-provided UI elements\nand visuals, which are similar to the navigation experience within the Google\nMaps apps. When you embed the Google navigation experience in your app, you\ndon't need to build the navigation experience from scratch, but you can still\nmodify parts of the experience. As an alternative, if you need more\ncustomization than is available with the Google navigation experience, you can\nrequest a turn-by-turn navigation feed from the Navigation SDK and then\nprovide and manage your own UI elements.\nFor more information, see [Custom navigation experience](/maps/documentation/navigation/ios-sdk/intro-custom-nav).\n\n\u003cbr /\u003e\n\nWhen you use Google navigation experience, your app calls the\nNavigation SDK to start, run, and stop navigation, using the following\nflow:\n\n1. **Start navigation**. To start navigation, your app creates a navigator\n instance. From there, it sets the destination for the navigator and\n initializes a map. Finally, the app initiates the turn-by-turn guidance.\n This app flow can be presented to the user in a variety of ways depending on\n your use case. For example, the app might have a store locator with its own\n UI elements that users can use to begin navigation to the store. Or, your\n app might begin active navigation with a predefined destination when a\n driver accepts a delivery task.\n\n2. **Active navigation**. Once your app enters active navigation, it uses the\n device location to maintain active guidance. You configure event listeners\n that are meaningful to your use case, such as for route changes and\n remaining time to the destination. During active navigation, the Navigation\n SDK provides UI components, which are similar to those in the Google Maps\n apps. For example, the navigation experience shows a standard Google maps\n layer, with visuals like turn guidance cards, traffic layers, alternate\n routes, and speed limits.\n\n3. **Stop navigation**. Your app terminates the navigation session in the way\n that best works for your use case, such as with an arrival listener that\n triggers when the user reaches the destination.\n\nHow can you modify the Google navigation experience?\n----------------------------------------------------\n\nIn general, you can modify the Google navigation experience to have different\ncolor schemes, camera views, extra turn guidance, and event response triggers.\nThe following list describes some of the adjustments you can make. This list is\nnot exhaustive.\n\n| **Modification** | **Details** |\n|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Modified navigation guidance: show/hide headers, colors and fonts, directions, alternate routes, and trip progress | [Map UI controls](/maps/documentation/navigation/ios-sdk/controls#map_ui_controls) [Navigation header and footer](/maps/documentation/navigation/ios-sdk/controls#navigation_header_and_footer) [Navigation header accessory view](/maps/documentation/navigation/ios-sdk/controls#navigation_accessory_header_view) [Display directions list](/maps/documentation/navigation/ios-sdk/controls#directions_list) [Hide alternate routes](/maps/documentation/navigation/ios-sdk/controls#hide_alternate_routes) [Display trip progress](/maps/documentation/navigation/ios-sdk/controls#trip-progress-bar) |\n| Adjust traffic information and speed limit information | [Display the speedometer](/maps/documentation/navigation/ios-sdk/controls#speedometer_control) [Adjust speedometer alerts](/maps/documentation/navigation/ios-sdk/speedometer) [Enable traffic lights and stop signs](/maps/documentation/navigation/ios-sdk/controls#traffic_lights_and_stop_signs) |\n| Change the map experience UI and adjust the camera. | [Position UI elements](/maps/documentation/navigation/ios-sdk/controls#position_controls_and_ui_elements) [Adjust the camera](/maps/documentation/navigation/ios-sdk/camera) |"]]