ZachPhillipsGary / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

f.b.mapTypes[f.b.getMapTypeId()] is undefined #124

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/e
xamples/advanced_example.html

What steps will reproduce the problem?
1. No matter how many Markers, the problem is consistent on any google map with 
markerclusterer v3

Expected result:
Loading process aborted cause of js error

Actual result:
Marker and Cluster should appear

Version: r387

Browser / Operating System:
FF6 / WIN 7 32bit

Original issue reported on code.google.com by i...@alter-erleben.de on 20 Sep 2011 at 8:12

GoogleCodeExporter commented 9 years ago
maybe a change or issue in maps api, the mapTypes array does not contain what 
they should

Original comment by pierluig...@gmail.com on 20 Sep 2011 at 9:22

GoogleCodeExporter commented 9 years ago
Hi there, 
i have the following problem with the MarkerClusterer and i think it has 
something to do, with the undefined TypeID.

Uncaught TypeError: Cannot read property 'maxZoom' of undefined

This Error appears on every side which use the MarkerClusterer v3.
Until yesterday, i had not the problem!

I use the newest Chrome Browser on a Win Vista 32bit system.

Original comment by rgre...@gmail.com on 20 Sep 2011 at 9:55

GoogleCodeExporter commented 9 years ago
Same problem 
"f.b.mapTypes[...].maxZoom' is null"  today when star mi project , yerterday 
work perfectly

the line in MasterClustered.js -> 
function () { var g = f.b.mapTypes[f.b.getMapTypeId()].maxZoom, 

Original comment by jorge.ar...@gmail.com on 20 Sep 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Same problem here. I have a production site with Google Maps + MarkerClusterer 
for about a year and only today it stopped working. Tested on all major 
browsers and SO.

Original comment by miguelam...@gmail.com on 20 Sep 2011 at 10:14

GoogleCodeExporter commented 9 years ago
Ok i'm glad to hear, that i'm not the only one with this problem. Tommorrow i 
have a little presentation with a tool which use the MarkerCluster. Hopefully 
this problem will be fixed as fast as possible. 

Original comment by rgre...@gmail.com on 20 Sep 2011 at 10:21

GoogleCodeExporter commented 9 years ago
the simplest way to solve is change api version
<script type="text/javascript" 
src="http://maps.google.com/maps/api/js?v=3.5&sensor=true"></script>

Original comment by pierluig...@gmail.com on 20 Sep 2011 at 10:32

GoogleCodeExporter commented 9 years ago
Thank you, that solve my problem!

Original comment by rgre...@gmail.com on 20 Sep 2011 at 11:24

GoogleCodeExporter commented 9 years ago
Thx, that helped me out for today.

Original comment by regn...@gmail.com on 20 Sep 2011 at 11:56

GoogleCodeExporter commented 9 years ago
I could fix this problem by upgrading to MarkerClustererPlus 2.0.1.

Based on the filename - markerclusterer_packed.js not 
markerclusterer_compiled.js - I was using Plus before, too, so I don't know if 
that would solve problem for people that not use the Plus version. 

Original comment by pietzsch...@gmail.com on 20 Sep 2011 at 12:55

GoogleCodeExporter commented 9 years ago
We're aware of the issue with using marker clusterer with the nightly build, 
v3.6. It should be resolved in about an hour - thanks.

Enoch

Original comment by enoch...@google.com on 20 Sep 2011 at 1:03

GoogleCodeExporter commented 9 years ago
To me these solutions didn't work, but since then the map started working on 
its self. Maybe a problem from Google? 

Original comment by miguelam...@gmail.com on 20 Sep 2011 at 2:12

GoogleCodeExporter commented 9 years ago
Clusterer working again, issue seems to be fixed by google

Original comment by i...@alter-erleben.de on 20 Sep 2011 at 2:17

GoogleCodeExporter commented 9 years ago
Issue 125 has been merged into this issue.

Original comment by garylitt...@gmail.com on 21 Sep 2011 at 4:45

GoogleCodeExporter commented 9 years ago
Suddenly tonight the marker cluster v 2.0.1 also does not work.  AFter a couple 
of hours of digging through code changes I made tonight, and reverting to older 
versions, I realized that something must have changed google side. 

Have a look at the demos. older versions work and newer dev versions do not as 
far as I can tell.

Original comment by d...@daleshaw.com on 21 Sep 2011 at 5:48

GoogleCodeExporter commented 9 years ago
the example i posted in the beginning worked yesterday night, now its broken 
again...

Original comment by i...@alter-erleben.de on 21 Sep 2011 at 7:46

GoogleCodeExporter commented 9 years ago
Today (yesterday, this solution didn't work) the solution of #6 worked for me.

Original comment by miguelam...@gmail.com on 21 Sep 2011 at 9:36

GoogleCodeExporter commented 9 years ago
If your marker clusterer code is still broken, please consider using the latest 
version of the marker clusterer, which you can obtain here: 
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/s
rc/

If this doesn't work for some reason, please don't hesitate to let us know.

Enoch

Original comment by enoch...@google.com on 21 Sep 2011 at 1:39

GoogleCodeExporter commented 9 years ago
The newest version of MarkerClustererPlus also works with API v3.6:

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererpl
us/src/

Original comment by garylitt...@gmail.com on 21 Sep 2011 at 10:55