I am having a problem using the google maps api. I have this call in my header to get the API. However, whenever I try to create a GMap2 object, it tells me that this is not a function. am I not including the APi correctly?
<script type="text/javascript" src="http://maps.google.com/maps/api/js? sensor=false&v=3 &key=API_KEY"></script> This is my call to create the Map2 object var map = new google.maps.Map2(document.getElementById("map_canvas"), myOptions); I have tried it with GMap2 but no dice. It is also telling me that addOverlay is not a function of the object, which after looking at the API, it most certainly is. So obviously I am not including the API correctly. Anyone know what I should try? -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en.
