'How to Get Google My Maps Location Pins in Latitude and Longitude

I have created a custom map via http://www.google.com/mymaps/ and have added a few locations.

Is there a way for me to retrieve these locations (in lat and lng format) via Google Map Javascript API?



Solution 1:[1]

First you will need to export your map as a KML layer. To see how to do that, you can read about it here.

After that, you will need to import your KML layer to Google Maps. Here is an example.

Then you can use KML Feature Details and use position to get lat/long

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Verma