Hi,

i'm getting this error when try to draw a map...few days ago
everything was working fine, but today it does not work.

In html i got this:
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
sensor=false"></script>

and in my js file:

var mapOptions = {
              zoom: zoom,
              mapTypeId: google.maps.MapTypeId.ROADMAP,
              mapTypeControl: true,
              mapTypeControlOptions: {
                 style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
              }
            };
var map = new google.maps.Map(el, mapOptions);
.......
......

And when i change google.maps.MapTypeId.ROADMAP to string 'ROADMAP'
and google.maps.MapTypeControlStyle.DROPDOWN_MENU to string
'DROPDOWN_MENU' i get this error google.maps.Map is not a constructor.

What's the problem? Google has changed something or what? But when i
look into V3 API nothing has changed.

And this problem can be seen on all browsers.

Can anyone help?

-- 
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.

Reply via email to