Google has now made it possible for you to remind that "Special someone" of that "Special moment" that you'll spent together at that "Special place"! With Google's new "Map Your Valentine", you can send a Valentine's eCard but with a twist - remembering a special place. It integrates with Google Maps and places the map inside a heart. So now you can send an eCard with your "Special" location and say "Remember the first gift I gave you?..." Or maybe something more romantic...
We have seen 2 Google Maps API v3 examples wherein we have retrieved the latitude-longitude co-ordinates of the point of click on the map. In the first example we have displayed the co-ordinates in the information window and in the second , we have displayed the co-ordinates in a form in the information window. Today we will create a code to retrieve the latitude longitude co-ordinates in a text box while simultaneously a marker appears on the map as well. So, here goes the code. <html> <head> <title> Google Maps API v3 - Adding marker on Click and retrieving the co-ordinates in a text box </title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> var map; //When using event as a parameter to a function declare map, strictly as a global variable fun...

cool one ! :)
ReplyDelete@Bharathi: I agree...A very simple app but a very good idea....:)
ReplyDelete