I think the main problem is that you are loading Maps API v2 and then trying to use Maps API v3 syntax/code.
Click view source on this page: http://code.google.com/apis/maps/documentation/javascript/examples/map-simple.html to see an example of how to write what you are trying to achieve. On Fri, Apr 1, 2011 at 9:07 AM, Andrew Leach <[email protected]> wrote: > On 31 March 2011 22:45, Iratus <[email protected]> wrote: >> Hello again >> >> I can not really understand where exactly is the thing you say within my >> code (mapdiv). Cause there is not really this word !!! > > Er... > > var map = new google.maps.Map(document.getElementById("mapdiv"), opt); > > This needs to match your div: > > <div id="mymap"></div> > > -- > 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. > > -- 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.
