smireb Posted October 24, 2016 Share Posted October 24, 2016 In php how do i add a maker with an origin and destination lat & lng with a line between the two points? Quote Link to comment https://forums.phpfreaks.com/topic/302395-google-maps-help/ Share on other sites More sharing options...
Barand Posted October 24, 2016 Share Posted October 24, 2016 You might use PHP to get the lat/long data via AJAX but communication with maps api would use javascript. https://developers.google.com/maps/documentation/javascript/examples/polyline-simple Quote Link to comment https://forums.phpfreaks.com/topic/302395-google-maps-help/#findComment-1538561 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.