When you do:
for (var prop in mts) {
}
inside the for loop, you should check:
if (mts.hasOwnProperty(prop)) {
}
The reason is that due to changes in how the Maps API does "inheritance" in
JS, the variable prop can take on the string value 'constructor', which is
not a map type.
Enoch
On Friday, November 23, 2012 10:07:37 PM UTC+11, Pil wrote:
>
> Checked a bit closer: This happens only when using the newest Chrome
> and Firefox on Linux.
>
> However, already found a workaround. Thanks.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/VM66HGofeU4J.
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.