تجربة التنقل في Google
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
توفّر حزمة تطوير البرامج (SDK) الخاصة بخدمة Navigation طرقًا مختلفة لدمج تجربة تنقّل في تطبيقك. توضّح هذه الصفحة ماهية تجربة التنقّل من Google وكيف تختلف عن تجارب التنقّل الأخرى المتاحة في حزمة تطوير البرامج (SDK) الخاصة بخدمة Navigation.
ما هي تجربة التنقّل من Google؟
تشير تجربة التنقّل من Google إلى استخدام حزمة Navigation SDK لتضمين تجربة تنقّل خطوة بخطوة تستخدم عناصر واجهة المستخدم والمرئيات التي توفّرها Google، وهي تشبه تجربة التنقّل في تطبيقات "خرائط Google". عند تضمين تجربة التنقّل من Google في تطبيقك، لن تحتاج إلى إنشاء تجربة التنقّل من البداية، ولكن سيظل بإمكانك تعديل أجزاء من التجربة. كبديل لذلك، إذا كنت بحاجة إلى المزيد من التخصيص مقارنةً بما توفّره تجربة التنقّل من Google، يمكنك طلب خلاصة للتنقّل في اتّجاهات مفصّلة من حزمة Navigation SDK، ثم توفير عناصر واجهة المستخدم الخاصة بك وإدارتها.
لمزيد من المعلومات، يُرجى الاطّلاع على
تجربة التنقّل المخصّصة.
عند استخدام تجربة التنقّل من Google، يطلب تطبيقك من حزمة Navigation SDK بدء التنقّل وتشغيله وإيقافه، وذلك باتّباع الخطوات التالية:
ابدأ التنقّل. لبدء التنقّل، ينشئ تطبيقك مثيلاً من أداة التنقّل. بعد ذلك، يتم تحديد الوجهة في أداة التنقّل وتتم تهيئة الخريطة. أخيرًا، يبدأ التطبيق في تقديم الإرشادات المفصّلة.
يمكن عرض مسار التطبيق هذا للمستخدم بطرق متنوعة حسب حالة الاستخدام. على سبيل المثال، قد يتضمّن التطبيق أداة تحديد موقع المتجر مع عناصر واجهة مستخدم خاصة به يمكن للمستخدمين استخدامها لبدء التنقّل إلى المتجر. أو قد يبدأ تطبيقك التنقّل النشط إلى وجهة محدّدة مسبقًا عندما يقبل السائق مهمة توصيل.
التنقل النشط بعد أن يبدأ تطبيقك في عرض التنقّل النشط، سيستخدم الموقع الجغرافي للجهاز للحفاظ على التوجيه النشط. يمكنك ضبط أدوات معالجة الأحداث
التي تكون ذات صلة بحالة الاستخدام، مثل تغييرات المسار
والوقت المتبقي للوصول إلى الوجهة. أثناء التنقّل النشط، توفّر حزمة تطوير البرامج (SDK) الخاصة بخدمة Navigation مكوّنات واجهة المستخدم المشابهة لتلك المتوفّرة في تطبيقات "خرائط Google". على سبيل المثال، تعرض تجربة التنقّل طبقة عادية من "خرائط Google"، مع عناصر مرئية مثل بطاقات إرشادات الانعطاف وطبقات حركة المرور والطرق البديلة وحدود السرعة.
إيقاف التنقّل ينهي تطبيقك جلسة التنقّل بالطريقة الأنسب لحالة الاستخدام، مثل استخدام أداة معالجة عند الوصول إلى الوجهة يتم تشغيلها عندما يصل المستخدم إلى الوجهة.
كيف يمكن تعديل تجربة التنقّل في Google؟
بشكل عام، يمكنك تعديل تجربة التنقّل من Google لتضمين أنظمة ألوان مختلفة، وطرق عرض الكاميرا، وإرشادات إضافية بشأن الانعطاف، ومشغّلات الاستجابة للأحداث.
توضّح القائمة التالية بعض التعديلات التي يمكنك إجراؤها. يُرجى العِلم بأنّ هذه القائمة ليست شاملة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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) |"]]