项目作者: WitsDeveloper

项目描述 :
This is a simulation of a form that uses Google and Sendy API to estimate the cost of shipping. This example can be used on an eCommerce checkout to determine the shipping cost for customers using Sendy (https://sendy.co.ke/). Sendy is a Kenyan company that delivers goods via motorcycle, pickup, van or truck.
高级语言: JavaScript
项目地址: git://github.com/WitsDeveloper/sendy-test.git
创建时间: 2017-12-27T07:06:10Z
项目社区:https://github.com/WitsDeveloper/sendy-test

开源协议:GNU General Public License v2.0

下载


Sample Demo Using Google Maps API and Sendy API

Requires

What the code does

  • Simulates how to get geocoding data from Google Maps
  • Adds autocomplete feature on the address field
  • Show selected address on the map
  • Convert an address to geocode Latitude/Longitude positioning with Google Maps
  • Send Latitude and Longitude coordinates to Sendy API
  • Obtain distance and delivery rates as calculated by Sendy
  • Used as a guide to develop integration of e-commerce website checkout with local delivery

To run a test

Enter your details and submit to see the data submitted and received from the APIs

Credits

This plugin makes use of jQuery Geocoding and Places Autocomplete Plugin by Martin Kleppe @ubilabs