Saving Dragable Directions Google Directions API v3

后端 未结 2 482
情歌与酒
情歌与酒 2020-12-06 04:04

I\'m making an app with the Directions API to create biking directions. The user needs to be able to start from a custom point, add custom stopping points along the route, a

2条回答
  •  广开言路
    2020-12-06 04:17

    I was trying for saving waypoints and this should be useful to other users who are searching for the same.

    I have created set of scripts to save the directions waypoints in the database also code to fetch that information back and display the waypoints in another map. I have provided html, php and sql files and complete explanation in this link.

    http://vikku.info/programming/google-maps-v3/draggable-directions/saving-draggable-directions-saving-waypoints-google-directions-google-maps-v3.htm.

    Also you can copy the source code of that page and you can edit according to your preference and use the sql file for the database.

提交回复
热议问题