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
Gauri Kasat 8Gauri Kasat 8 

Google api in lightning component

 
Hey,
my requirement is to capture location i.e. latitude,longitude and address in lightning component.
How to call following script in lightning?
 <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&key=YOUR_KEY" />  

Urgent.. please help
Yogeshwar TailorYogeshwar Tailor
Hi Gauri,

Please find below the URL may be helpful for you.

https://sfdcbrothers.wordpress.com/2017/11/01/use-google-maps-api-in-lightning-components-salesforce/

please let me know if it will help you.

Thanks,
Yogesh