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
  • Away
  • 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.054 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started