It is happening in the official Google example that I followed!
http://code.google.com/apis/maps/documentation/javascript/examples/maptype-base.html
If you inspect this using the Chrome Javascript Console, you get the
same error as above.
I found out it was tied to setting some GUI control in the map
options.
If I remove this from the mapoptions .. there is no error.
----------------------------
mapTypeControlOptions: {
mapTypeIds: ['coordinate', google.maps.MapTypeId.ROADMAP],
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
}
---------------------------------
.. but the dropdown is not set ofcourse.
Even if I remove the 'coordinate' type, it still gives an error.
Anybody has a clue, as to what is wrong?
.nikolaj
--
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.