Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Multi-route map - directions API 18 Jul 2016 06:59 #14276

  • vlemos
  • vlemos's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • Posts: 295
  • Thank you received: 41
Hello Admin

Can your directions api draw multiple sets of origins and destinations on the same canvas?

How could I setup:
$chicago = array(
	'lat' => 41.85,
	'lng' => -87.65
);
$indianapolis = array(
	'lat' => 39.79,
	'lng' => -86.14
);
$cincinnati = array(
	'lat' => 39.10,
	'lng' => -84.51
);

Where my final destination is Cincinnati but I am passing through Indianapolis for a short while.

Will this take a recoding of the function?

Thanks for your help should save me a lot of time searching.
vlemos

Please Log in or Create an account to join the conversation.

Multi-route map - directions API 18 Jul 2016 10:24 #14277

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
I am not sure you can do that easily with Google Map. Might be possible but if you have some examples please share.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.086 seconds

This Component Generator is the REAL component generator. This tool is very easy to use and in a matter of minutes I was building a fully working extension. I was amazed with the end result... worth every cent...
Griiettner (JED)

         

Get Started