উপভোক্তা SDK নির্ধারিত টাস্ক ওভারভিউ
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ভোক্তাদের তাদের নির্ধারিত ডেলিভারি বা পরিষেবা অর্ডারগুলির অগ্রগতি অনুসরণ করার অনুমতি দিয়ে নির্ধারিত কাজের জন্য ভোক্তাদের অভিজ্ঞতা তৈরি করুন।
নির্ধারিত কাজের জন্য উপভোক্তা SDK কি?
উপভোক্তা SDK হল নির্ধারিত কাজের জন্য ফ্লিট ইঞ্জিনের একটি বৈশিষ্ট্য যাতে ভোক্তাদের অভিজ্ঞতা তৈরি করার জন্য টুলকিটগুলিও অন্তর্ভুক্ত থাকে। এই টুলকিটগুলি আপনাকে ড্রাইভারের অগ্রগতি কল্পনা করতে মানচিত্র-ভিত্তিক ডিসপ্লে তৈরি করতে দেয় এবং একটি নির্ধারিত স্টপের সাথে যুক্ত টাস্কের স্থিতি দেখায়। এটি দুটি প্রাথমিক দর্শকদের জন্য ডিজাইন করা হয়েছে:
- ভোক্তা শেষ ব্যবহারকারী যারা একটি পৃথক চালানের অর্ডারের জন্য ডেলিভারির অবস্থা জানতে চান। এই দস্তাবেজটি জাভাস্ক্রিপ্টে কনজিউমার SDK-এর সাথে সেই ভোক্তা অভিজ্ঞতাকে কীভাবে বাস্তবায়ন করতে হয় তা কভার করে, যা
FleetEngineShipmentLocationProvider
ক্লাস এবং সংশ্লিষ্ট ইন্টারফেস প্রদান করে। - ফ্লিট অপারেটর যারা যানবাহনের পুরো বহরের জন্য ডেলিভারি এবং গাড়ির অবস্থা ট্র্যাক করতে চান। ফ্লিট ট্র্যাকিং সম্পর্কে তথ্যের জন্য, ফ্লিট ট্র্যাকিং গাইড দেখুন।

কেন নির্ধারিত কাজের জন্য উপভোক্তা SDK ব্যবহার করবেন?
কনজিউমার SDK-কে আপনার নির্ধারিত কাজের ভোক্তা অ্যাপ্লিকেশনগুলিতে একীভূত করা আপনাকে রিয়েল-টাইম লোকেশন আপডেট এবং রাস্তার স্ন্যাপ করা অবস্থানগুলির সাথে একটি বিস্তৃত ভোক্তা অভিজ্ঞতা প্রদান করতে দেয়। আপনার ভোক্তারা ডেলিভারি গাড়ির অবস্থান এবং অগ্রগতির বিবরণ দেখতে পারে যা তাদের চালান কোথায় তা বুঝতে সাহায্য করে।
আপনি কনজিউমার SDK দিয়ে কি করতে পারেন?
আপনার ভোক্তাদের সাথে নিম্নলিখিত চালানের তথ্য শেয়ার করতে উপভোক্তা SDK ব্যবহার করুন:
- একটি মানচিত্রে ডেলিভারি গাড়ির রিয়েল-টাইম অবস্থান।
- প্যাকেজ আগমনের জন্য ETA, পরিবর্তিত পরিস্থিতিতে, যেমন ট্রাফিকের জন্য সামঞ্জস্য করা হয়েছে।
- রুটে যানবাহন নিচ্ছে।
- Distance and number of stops remaining before their shipment is delivered.
আপনি ড্রাইভার SDK থেকে অবস্থানের তথ্যের উপর ভিত্তি করে আপনার ভোক্তা অ্যাপ বা ওয়েবসাইটের ভিতরে অন্যান্য নির্বিঘ্ন জিও-সক্ষম ভোক্তা অভিজ্ঞতা তৈরি করতে পারেন। ড্রাইভার SDK সম্পর্কে বিশদ বিবরণের জন্য, ড্রাইভার SDK নির্ধারিত কার্য ওভারভিউ দেখুন।
ভোক্তা SDK উপাদান
JavaScript Consumer SDK-তে নিম্নলিখিত উপাদান রয়েছে:
- একটি জাভাস্ক্রিপ্ট মানচিত্র উপাদান যা একটি আদর্শ
google.maps.Map
সত্তার জন্য একটি ড্রপ-ইন প্রতিস্থাপন৷ - ফ্লিট ইঞ্জিনের সাথে সংযোগ করার জন্য ডেটা উপাদান।
- একটি গন্তব্যে যাওয়ার সাথে সাথে গাড়ি এবং রুটের ভিজ্যুয়ালাইজেশনের জন্য উপাদান।
- কাঁচা ডেটা ড্রাইভারের ইটিএ বা গাড়ি চালানোর বাকী দূরত্বের জন্য ফিড দেয়।
নিম্নলিখিত সারণী উপাদানগুলি বর্ণনা করে।
কম্পোনেন্ট | বর্ণনা | মানচিত্র দৃশ্য | মানচিত্র দৃশ্যটি গাড়ির অগ্রগতি চিত্রিত করে, গাড়িটি তার রুটে চলার সাথে সাথে দৃশ্যটি আপডেট করে। |
চালান অবস্থান প্রদানকারী | চালান ট্র্যাকিং প্রদানকারী একটি অবস্থান ফিড প্রদান করে যাতে মানচিত্রটি চালান সম্পর্কে দরকারী তথ্য প্রদর্শন করতে পারে, যেমন চালানের পিকআপ বা ডেলিভারি অবস্থান এবং ডেলিভারি গাড়ির অবস্থান এবং রুট। |
প্রমাণীকরণ টোকেন ফেচার | প্রমাণীকরণ টোকেন ফেচার আপনার ব্যাকএন্ড সার্ভার থেকে JSON ওয়েব টোকেন (JWTs) পায় ফ্লিট ইঞ্জিনে সঞ্চিত অবস্থানের ডেটাতে অ্যাক্সেস প্রমাণীকরণ করতে। আপনি জাভাস্ক্রিপ্ট জার্নি শেয়ারিং লাইব্রেরি ব্যবহার করে আপনার ওয়েব অ্যাপ্লিকেশনের অংশ হিসাবে একটি প্রমাণীকরণ টোকেন ফেচার প্রয়োগ করেন। মনে রাখবেন যে আপনাকে অবশ্যই আপনার ব্যাকএন্ড সার্ভারে ফ্লিট ইঞ্জিনের জন্য একটি JSON ওয়েব টোকেন (JWT) তৈরি পরিষেবা প্রয়োগ করতে হবে। |
মানচিত্র শৈলী বিকল্প | আপনার ওয়েব অ্যাপ্লিকেশনের স্টাইলিং এর সাথে মেলে আপনার মানচিত্রের ডিফল্ট স্টাইলিং পরিবর্তন করতে আপনি কাস্টম স্টাইলিং বিকল্পগুলি ব্যবহার করতে পারেন৷ |
কনজিউমার এসডিকে কীভাবে ব্যবহার করবেন
এরপর কি
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Consumer SDK enables businesses to provide customers with real-time visibility into the location and progress of their scheduled deliveries or service orders.\u003c/p\u003e\n"],["\u003cp\u003eThis SDK offers tools for creating map-based displays within consumer applications, showing the driver's location, estimated time of arrival, and route information.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can integrate the Consumer SDK to create a comprehensive and seamless delivery tracking experience for their customers, improving transparency and satisfaction.\u003c/p\u003e\n"],["\u003cp\u003eKey components of the SDK include a map view, a location provider, authentication mechanisms, and customizable styling options to tailor the experience.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, developers need to set up the JavaScript Consumer SDK, follow a specific shipment for tracking, and customize the map interface as desired.\u003c/p\u003e\n"]]],[],null,["Tailor the consumer experience for scheduled tasks by allowing consumers to\nfollow the progress of their scheduled deliveries or service orders.\n\nWhat is the Consumer SDK for scheduled tasks?\n\nThe Consumer SDK is a feature of Fleet Engine for scheduled tasks that also\nincludes toolkits to create the consumer experience. These toolkits let you\ncreate map-based displays to visualize a driver's\nprogress and show the status of the task associated with a scheduled stop. It's\ndesigned for two primary audiences:\n\n- **Consumer end users** who want to know delivery status for an individual shipment order. This document covers how to implement that consumer experience with the Consumer SDK in JavaScript, which provides the `FleetEngineShipmentLocationProvider` class and associated interfaces.\n- **Fleet operators** who want to track the delivery and vehicle status for an entire fleet of vehicles. For information about tracking fleets, see the [Fleet tracking guide](/maps/documentation/mobility/operations/fleet-tracking).\n\nWhy use the Consumer SDK for scheduled tasks?\n\nIntegrating the Consumer SDK into your scheduled tasks consumer applications\nlets you provide a comprehensive consumer experience, with near real-time\nlocation updates and road-snapped positions. Your consumers can see the delivery\nvehicle's location and progress details that help them understand where their\nshipment is.\n\nWhat can you do with the Consumer SDK?\n\nUse the Consumer SDK to share the following shipment information with your\nconsumers:\n\n- Delivery vehicle's real-time position on a map.\n- ETA for package arrival, adjusted for changing circumstances, such as traffic.\n- Route the vehicle is taking.\n- Distance and number of stops remaining before their shipment is delivered.\n\nYou can also create other seamless geo-enabled consumer experiences inside your\nconsumer app or website based on location information from the Driver SDK. For\ndetails about the Driver SDK, see the\n[Driver SDK scheduled tasks overview](/maps/documentation/mobility/driver-sdk/scheduled).\n\nConsumer SDK components\n\nThe JavaScript Consumer SDK contains the following components:\n\n- A JavaScript map component that is a drop-in replacement for a standard `google.maps.Map` entity.\n- Data components to connect with Fleet Engine.\n- Components for visualization of the vehicle and route as it progresses to a destination.\n- Raw data feeds for a driver's ETA or the remaining distance to drive.\n\nThe following table describes the components.\n\n| Component | Description |\n|------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Map view | The map view illustrates the progress of the vehicle, updating the view as the vehicle moves along its route. |\n| Shipment location provider | The shipment tracking provider provides a location feed so that the map can display useful information about the shipment, such as the pickup or delivery location of the shipment and the location and route of the delivery vehicle. |\n| Authentication token fetcher | The authentication token fetcher gets JSON Web Tokens (JWTs) from your backend server to authenticate access to the location data stored in Fleet Engine. You implement an authentication token fetcher as part of your web application using the JavaScript Journey Sharing Library. Note that you must also implement a JSON Web Token (JWT) creation service for Fleet Engine on your backend server. |\n| Map style options | You can use custom styling options to change the default styling of your map to match the styling of your web application. |\n\nHow to use the Consumer SDK\n\n|---|----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 1 | **Set up the JavaScript Consumer SDK** | For more information, see [Set up the JavaScript Consumer SDK](/maps/documentation/mobility/journey-sharing/scheduled/shipment-tracking/setup). |\n| 2 | **Follow a shipment** | Learn how to initialize the map, start following a shipment, and stop following with appropriate clean up. See [Follow a shipment](/maps/documentation/mobility/journey-sharing/scheduled/shipment-tracking/follow). |\n| 3 | **Customize the map interface** | You can use the JavaScript Consumer SDK for scheduled tasks to customize the map interface, provide marker customization, or style polylines. See [Style a map](/maps/documentation/mobility/journey-sharing/scheduled/shipment-tracking/style-map), [Customize markers](/maps/documentation/mobility/journey-sharing/scheduled/shipment-tracking/customize-markers), and [Customize polylines](/maps/documentation/mobility/journey-sharing/scheduled/shipment-tracking/customize-polylines). |\n\nWhat's next\n\n- [Set up the JavaScript Consumer SDK](/maps/documentation/mobility/journey-sharing/scheduled/shipment-tracking/setup)"]]