function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jay Wang 2Jay Wang 2 

Lightning map with google maps directions

Hi,

I'm using a lightning component that uses lightning:map and it contains multiple markers, code from: 
https://developer.salesforce.com/docs/component-library/bundle/lightning:map/example#lightningcomponentdemo:exampleMapMultipleMarkers 

User-added image

Now I was just wondering if anyone knew how to add a link to the google maps directions in the information of the markers. For example something similar to below except I only care about the directions link.

User-added image

Thanks for your time and any help would be appreciated,

Jay