How to add pin on page load and move it anywhere on Google map using JavaScript
Demo: PinOnMap Here is the source code to show pin on Google map using JavaScript: <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> [crayon-67371247efe03179227801/] </script> // html code <body onload="initialize(new google.maps.LatLng(18.5203,73.8567))" style="font-family: Arial; border: 0 none;"> <input type="text" size="52" name="address" id="Address" />
Read more