Transfer google map coordinates to mysql database
问题 I have a google map where the user can create a polyline. I have stored the polyline (lat,lng)coordinates into an array. Now i want to use php or javascript to transfer these coordinates to a mysql database or is there other better options? How should i proceed? Here is my code: (function() { window.onload = function() { var path; var marker; var infowindow; var places = []; //create reference to div tag in HTML file var mapDiv = document.getElementById('map'); // option properties of map var