in order to get coordinates of use click you would need to add a
listener to your map:
google.maps.event.addListener(map, 'click', function(event) {
do_smth_with_coords(event.latLng);
});
then you can use coords further. In my example function
"do_smth_with_coords" will recessive LatLng object.
good luck,
dennis
On 17 Грд, 10:22, Jeff Lake <[email protected]> wrote:
> This is my first experience with the API v3...
> I have looked over the example's, and docs until I'm blue in the face..
>
> All I'm interested in doing is having this maphttp://www2.michiganwxsystem.com
> export the lat/lon of a user clicked point, to populate a new URL
> ie daycast.php?lat=xxxx&lon=xxxx ..
> Im sure its pretty simple, but i must have overlooked it ..
--
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.