Hello there, i have google maps in my website.
this is the link http://svn.rectmedia.com/webrepo/p25cruffs/website and also this is my javascript. /** * Called on the initial page load. */ function init() { var mapCenter = new google.maps.LatLng(51.031618,-114.071378); var map = new google.maps.Map(document.getElementById('map_canvas'), { 'zoom': 18, 'center': mapCenter, 'mapTypeId': google.maps.MapTypeId.ROADMAP }); // Create a draggable marker which will later on be binded to a // Circle overlay. var marker = new google.maps.Marker({ map: map, position: new google.maps.LatLng(51.031618,-114.071378), draggable: true, title: 'Drag me!' }); /*// Add a Circle overlay to the map. var circle = new google.maps.Circle({ map: map, radius: 50 // 3000 km });*/ // Since Circle and Marker both extend MVCObject, you can bind them // together using MVCObject's bindTo() method. Here, we're binding // the Circle's center to the Marker's position. // http://code.google.com/apis/maps/documentation/v3/reference.html#MVCObject //circle.bindTo('center', marker, 'position'); } // Register an event listener to fire when the page finishes loading google.maps.event.addDomListener(window, 'load', init); If i open the page contact us, it does not matter. The Alert does not show. But when i open the homepage, the error alert show up. How to solve this? I don't know to solve that problem. Thank you -- 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.
