driving and walking

17 views
Skip to first unread message

arcjpc

unread,
May 3, 2017, 9:12:30 PM5/3/17
to Google Maps JavaScript API v3
I want to have both a driving route and a walking route on the same map.  Can that be done?

Barry Hunter

unread,
May 4, 2017, 7:07:18 AM5/4/17
to google-maps-js-api-v3
Just have two DirectionsService objects (possibly two DirectionsRenderer), and attach them both to the same map. 



On 4 May 2017 at 01:53, 'arcjpc' via Google Maps JavaScript API v3 <google-map...@googlegroups.com> wrote:
I want to have both a driving route and a walking route on the same map.  Can that be done?

--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-js-api-v3+unsub...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages