These adjusted positions can be used as the origin for Directions API or Distance Matrix API. Have poor GPS data? The Roads API can be used to snap raw device locations from drivers onto the most likely position on Google’s road network. With shorter drive times, drivers can deliver more orders each per day. This ensures the fastest possible order turnaround and a more efficient operation overall. The Distance Matrix API also utilizes live traffic information, allowing you to choose the closest driver by real-time journey duration to complete the pickup and delivery. Use the traffic_model parameter to access predictive travel times which anticipate how long the journey will take at the time the shipment needs to leave the depot. Use Distance Matrix API to compare the travel time from each possible warehouse or depot location to fulfill the order, allowing for the quickest possible delivery. Manage a fleet of delivery drivers? Google Maps Platform can be used to improve your operations and help you operate more efficiently with access to real-time traffic information. You can again use the Geocoding API to convert the map pin location back to a human-readable address.įor locations that don’t have accurate or official addresses, you can now use Plus Codes from the Place Autocomplete and Geocoding APIs to obtain accurate delivery locations for your drivers. This provides quick visual feedback to the user, and by repositioning the pin, allows them to fine-tune the drop-off location. This can be used to display a map with a movable pin to confirm the delivery and drop-off locations. And by integrating it into your checkout flow you can accelerate address entry, reduce checkout friction, and reduce delivery errors.Īfter an address is obtained from the Autocomplete API, you can also use the Geocoding API to determine the precise lat/lng position of the user’s delivery address (using Place_ID from Autocomplete). The Autocomplete API provides a ‘type ahead’ address prediction service. It’s important to make sure your packages get to the right place, and having accurate address information is essential for reducing returned packages due to delivery errors. Many of the same APIs and SDKs we highlighted in last week’s “buy online, pick up in store” post can be used to shift to offering delivery of goods rather than pick-up. With many restaurants and stores around the world unable to open for business as usual, a common question we hear from customers is how they can quickly add delivery capabilities to their businesses. Editor's note: To support companies and developers addressing changing consumer and business needs, we’re sharing our best practices for adding new functionality to your apps and websites.
0 Comments
Leave a Reply. |