Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140447

Extracting Lat/Long from Google Maps

$
0
0

if any of you have insight on how to do something like this it would be very helpful.
Anyways, I've downloaded a custom google map with a bunch of different points on it as a CFM file. When I open it, I can see all the lat long points but theyre all assigned to the same variable name when theyre each initiliazed. Like so:


    myLatLng = new google.maps.LatLng(38.6825289710,-104.7001004670);
    marker = new google.maps.Marker({position: myLatLng,map: map,icon: pinImage});

    myLatLng = new google.maps.LatLng(40.5750741660,-105.0041758660);
    marker = new google.maps.Marker({position: myLatLng,map: map,icon: pinImage});

So, if anyone knows how I could get the lat/long position of each of these, let me know. There are many points.


Viewing all articles
Browse latest Browse all 140447

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>