Uncaught TypeError: Cannot read property 'ROADMAP' of undefined
I have added the script (v1.3) and included the google maps API (v3) with my key and I have jQuery 1.3.2 running. Everything that was specified on this site as the needed components. The map does not generate because of this error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am am running into this error:
Uncaught TypeError: Cannot read property 'ROADMAP' of undefined
I have added the script (v1.3) and included the google maps API (v3) with my key and I have jQuery 1.3.2 running. Everything that was specified on this site as the needed components. The map does not generate because of this error.
Can you post a link to what you are trying to do?
Sounds like you are usaing the V2 of the google API constants for the map-type
with the V3 API you need to use something along the lines of
google.maps.MapTypeId.ROADMAP
instead