Welcome, Guest
Username: Password: Remember me

TOPIC: Multi-route map - directions API

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

  • vlemos
  • vlemos's Avatar
  • Online
  • Elite Member
  • Posts: 295
  • Thank you received: 41
  • Karma: 21
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
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
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
The administrator has disabled public write access.
Time to create page: 0.088 seconds

Get Started