我正在玩google waypoints https://developers.google.com/maps/documentation/javascript/examples/directions-waypoints
无法弄清楚如何将结果加载到数据库中。
我希望查询这些内容。
答案 0 :(得分:0)
function calcRoute() {
var start = document.getElementById('start').value;
var end = document.getElementById('end').value;
var waypts = [];
var checkboxArray = document.getElementById('waypoints');
// These three variables are to be stored in DB, use Jquery GET/POST to a php and store it to a database
}