markerclusterer problem

390 views
Skip to first unread message

Andrinopoulos George

unread,
Sep 20, 2011, 3:04:43 AM9/20/11
to google-map...@googlegroups.com
Hi all,

today morning i noticed that marekrclusterer doesn't work as supposed to be.
I got the following error in the error console.
Any help?

Error: that.map_.mapTypes[that.map_.getMapTypeId()] is undefined
Source File:
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer.js
Line: 164

geoco...@gmail.com

unread,
Sep 20, 2011, 7:13:32 AM9/20/11
to Google Maps JavaScript API v3
On Sep 20, 12:04 am, Andrinopoulos George <geoan...@gmail.com> wrote:
> Hi all,
>
> today morning i noticed that marekrclusterer doesn't work as supposed to be.
> I got the following error in the error console.
> Any help?

Any link to your map?

READ THIS FIRST: Posting Guidelines
http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e

-- Larry

>
> Error: that.map_.mapTypes[that.map_.getMapTypeId()] is undefined
> Source File:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/marker...
> Line: 164

Andrinopoulos George

unread,
Sep 20, 2011, 7:31:00 AM9/20/11
to google-map...@googlegroups.com
Sorry about this.

I thought that many others would have the same problem today beacuse i
use the markerclusterer.js from the svn/trunk from google.
The problem is that when i zoom in the markercluster does not split into
smaller clusters.
The link is http://beach-profiles.gr/.
On the right menu press the first submenu, select the first option
"Σημεία Κολύμβησης".

RoyHB

unread,
Sep 20, 2011, 8:17:11 AM9/20/11
to Google Maps JavaScript API v3
I'm getting the same errors George - started today.

On Sep 20, 9:31 pm, Andrinopoulos George <geoan...@gmail.com> wrote:
> Sorry about this.
>
> I thought that many others would have the same problem today beacuse i
> use the markerclusterer.js from the svn/trunk from google.
> The problem is that when i zoom in the markercluster does not split into
> smaller clusters.
> The link ishttp://beach-profiles.gr/.
> On the right menu press the first submenu, select the first option
> "Σημεία Κολύμβησης".
>

DS

unread,
Sep 20, 2011, 8:24:12 AM9/20/11
to google-map...@googlegroups.com
Replace the version of your Google Map API at the time of loading to 3.5

      google.load('maps', '3.5', {
      	other_params: 'sensor=false'
      });

Enoch Lau (Google Employee)

unread,
Sep 20, 2011, 9:01:58 AM9/20/11
to google-map...@googlegroups.com
Thanks for reporting the error in the marker clusterer when it's used with v3.6.

We're aware of the problem, and it should be resolved in about an hour - thank you for your patience.

Enoch

Greg T

unread,
Sep 20, 2011, 9:40:34 AM9/20/11
to google-map...@googlegroups.com
I am using markerclusterer but I am also getting errors in markermanager.js (v0.9) I wonder if this is related.
->TypeError: 'undefined' is not an object (evaluating 'latlng.lng')

Greg

mathieuuu

unread,
Sep 20, 2011, 10:22:49 AM9/20/11
to google-map...@googlegroups.com

mathieuuu

unread,
Sep 20, 2011, 8:14:49 AM9/20/11
to Google Maps JavaScript API v3
Also got the same problem since this morning.

Actually the error even appears on the official example of
markerclusterer :

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/examples/simple_example.html

Same error : this.map_.mapTypes[this.map_.getMapTypeId()] is undefined


On 20 sep, 13:31, Andrinopoulos George <geoan...@gmail.com> wrote:
> Sorry about this.
>
> I thought that many others would have the same problem today beacuse i
> use the markerclusterer.js from the svn/trunk from google.
> The problem is that when i zoom in the markercluster does not split into
> smaller clusters.
> The link ishttp://beach-profiles.gr/.
> On the right menu press the first submenu, select the first option
> "Σημεία Κολύμβησης".
>

tsornin

unread,
Sep 20, 2011, 8:54:18 AM9/20/11
to Google Maps JavaScript API v3
Having the same issue with clustering and dragzoom libraries.

Sergey

unread,
Sep 20, 2011, 8:50:09 AM9/20/11
to Google Maps JavaScript API v3
Сегодня столкнулся с такой же проблемой.

Нашел решение путем указания точной версии Google Maps API

Было ранее:

var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://maps.google.com/maps/api/js?
&sensor=false&language=" + thisLang + "&callback=" + callbackFn;
document.body.appendChild(script);

Я заменил на:

var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://maps.google.com/maps/api/js?
v=3.4&sensor=false&language=" + thisLang + "&callback=" + callbackFn;
document.body.appendChild(script);

ДОБАВИЛ: v=3.4 !!!

Ссылка тут: http://breadpoints.com/

Radu Bontila

unread,
Sep 21, 2011, 3:36:54 AM9/21/11
to google-map...@googlegroups.com
Still doesn't work!

Error: that.map_.mapTypes[that.map_.getMapTypeId()] is undefined
Source File: markerclusterer.js
Line: 95

Anybody else still having the problem?

It works on the site because I manually set maxZoom if that is undefined.
Reply all
Reply to author
Forward
0 new messages