Still just getting my head around PHP/Javascript. I'm trying to capture the center coords from the map on page 1 and use them to initalize a map on page 2.
So far, I haven't even been able to get some static values from page 1 to page 2. On page 1, I have a link: <a href="userdata_map.php?lat=43.471079&lng=-89.744310">Edit This Map</ a> On page 2, I have an initialize function that contains this: var latlng = new google.maps.LatLng(parseFloat(<?php $_GET["lat"]; ? >), parseFloat(<?php $_GET["lng"]; ?>)); However this doesn't seem to be working. The source of page 2 just shows this: var latlng = new google.maps.LatLng(parseFloat(), parseFloat()); How do I make this work? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
