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-maps-js-api-v3@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+unsubscr...@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. > -- 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+unsubscr...@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.