Currently I am diving into the world of Angular 4 and experimenting with Google Maps integration. I came across a helpful tutorial on how to incorporate Google Maps into my project successfully. However, I now face a new challenge. I have strings of addresses stored in my database, such as "London", and I need to show markers on those specific locations. Can anyone guide me on how to retrieve the longitude and latitude for a given string address so that I can accurately place markers?
I have searched through various resources but have not found a solution that converts a string into longitude and latitude values. Any assistance would be greatly appreciated.
location = "London"
longitude: any;
latitude: any;
//How can I obtain these values in Typescript?
Your help will be immensely valued.
Thank you