Error in main.js - this[tb] is not a function

101 views
Skip to first unread message

PoojaC

unread,
Jun 27, 2011, 2:31:44 PM6/27/11
to google-map...@googlegroups.com
Hi,

I get the below error in main.js on firefox,
this[tb] is not a function (52 out of range 42)

In IE, i get the error as,
Message: Object doesn't support this property or method
Line: 10
Char: 204
Code: 0
URI: http://maps.gstatic.com/intl/en_us/mapfiles/api-3/5/7a/main.js


I fail to understand the reason behind it.I am using MarkerClusterer class as well. Don't know if it has got any relation with this error but what i observed is, when i click on a cluster, after that only this error comes.

Does anyone knows when/why this errors comes and how to fix this?

geoco...@gmail.com

unread,
Jun 27, 2011, 2:38:43 PM6/27/11
to Google Maps JavaScript API v3
On Jun 27, 11:31 am, PoojaC <poojachhim...@gmail.com> wrote:
> Hi,
>
> I get the below error in main.js on firefox,
> *this[tb] is not a function* (52 out of range 42)
>
> In IE, i get the error as,
> Message: *Object doesn't support this property or method*
> Line: 10
> Char: 204
> Code: 0
> URI:http://maps.gstatic.com/intl/en_us/mapfiles/api-3/5/7a/main.js
>
> I fail to understand the reason behind it.I am using MarkerClusterer class
> as well. Don't know if it has got any relation with this error but what i
> observed is, when i click on a cluster, after that only this error comes.
>
> Does anyone knows when/why this errors comes and how to fix this?

No way to tell with the information given.
(please post a link to the map that exhibits the problem)

The error is most likely in your code that is generating the call to
that part of the API.

Did you read this?
http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/2b3f101fd509919e

-- Larry

PoojaC

unread,
Jun 27, 2011, 3:19:22 PM6/27/11
to google-map...@googlegroups.com
I understand that the information is not suffice, but currently it's not feasible for me to post a working link.
All i can give is the use-case, as below.

1. Initially, my map is marked with 5 markers.
2. I click on a link which forms clusters of 100 markers using markerclusterer.js.No error till here.
3. I click a link to clear all markers using setMap() and then put initial 5 markers on map(as initially). To my surprize, during this step, MarkerClusterer method getExtendedBounds() is invoked out of somewhere. After this step, i see the above mentioned errors in main.js.

Please tell me if you can sense the cause of the error. I just afraid if presently there is any known issue with markerclusterer.js or main.js.

Luke Mahé

unread,
Jun 27, 2011, 5:25:00 PM6/27/11
to google-map...@googlegroups.com
We need to see your code. Until then, you're not going to get much help.

Try and create a minimal demo that you can put online (you can use something like http://www.pastie.org/).

-- Luke




--
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/-/w-Xx1jv8ITAJ.

To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.

geoco...@gmail.com

unread,
Jun 27, 2011, 9:30:16 PM6/27/11
to Google Maps JavaScript API v3
On Jun 27, 12:19 pm, PoojaC <poojachhim...@gmail.com> wrote:
> I understand that the information is not suffice, but currently it's not
> feasible for me to post a working link.
> All i can give is the use-case, as below.
>
> 1. Initially, my map is marked with 5 markers.
> 2. I click on a link which forms clusters of 100 markers using
> markerclusterer.js.No error till here.
> 3. I click a link to clear all markers using setMap() and then put initial 5
> markers on map(as initially). To my surprize, during this step,
> MarkerClusterer method getExtendedBounds() is invoked out of somewhere.
> After this step, i see the above mentioned errors in main.js.
>
> Please tell me if you can sense the cause of the error.

Sorry, I'm not psychic.

-- Larry
Reply all
Reply to author
Forward
0 new messages