This is intended behavior.  It is allowed to specify a custom MapType by id
before you provide it to the registry.  So at the time an unknown map type
id is set the API does not know if you made a mistake.

On 19 Feb 2010 01:28, "Nicholas Canzoneri" <[email protected]> wrote:

Just wondering if this is intended or not.

Problem:
Passing an invalid mapTypeId in map creation.

Expected:
A JavaScript error.

What occurs:
A grey area where the map should be with no errors.

Url:
http://www.dvrpc.org/asp/test/gmap/maptype.html

--
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]<google-maps-js-api-v3%[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.

Reply via email to