[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread jim
On Jun 8, 9:00 pm, William wrote: > this is what you have in your code: a new MarkerClusterer inside the > jquery "each" iterator: > > $.get(filename, function(data) { >  $('waypoint', data).each(function() { >   >   makerClusterer = new MarkerClusterer(map, markers) >   map.fitBounds(bound

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread William
this is what you have in your code: a new MarkerClusterer inside the jquery "each" iterator: $.get(filename, function(data) { $('waypoint', data).each(function() { makerClusterer = new MarkerClusterer(map, markers) map.fitBounds(bounds); }); },'xml'); this is what I suggested: to cr

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread jim
On Jun 8, 3:48 pm, William wrote: > same as the advice in your previous > threadhttp://groups.google.com/group/google-maps-js-api-v3/browse_thread/th... > > you have a jquery $.get with a jquery $each iterator inside it, so the > construction of the MarkerClusterer and fitting the map to the bo

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread William
same as the advice in your previous thread http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/e8589d0bd8018cb2 you have a jquery $.get with a jquery $each iterator inside it, so the construction of the MarkerClusterer and fitting the map to the bounds should happen after the

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread jim
On Jun 8, 1:02 pm, "ricco *" wrote: > Hello, > > have you tried to change the id of your div container ( this id is 'map' and > the js variable referencing the map object is 'map'  too ...). > > 2010/6/8 jim > > > > > My code dies at > > > ClusterMarker_.prototype = new GOverlay(); > > > in the

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread jim
On Jun 8, 2:41 am, William wrote: > On Jun 8, 6:29 pm, jim wrote: > > > the markers are placed, but no clusters. > > the markers are being constructed with the "map" option, but that > should be controlled by the clusterer, so remove this line: > > var marker_opts = { >   position: latlng, > --

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread William
On Jun 8, 6:29 pm, jim wrote: > the markers are placed, but no clusters. the markers are being constructed with the "map" option, but that should be controlled by the clusterer, so remove this line: var marker_opts = { position: latlng, --- map: map, title: name + ", " + id,

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread jim
On Jun 8, 12:43 am, William wrote: > GOverlay sounds like V2 code, so verify the markerclusterer.js is from > the V3 version at > > http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerc... That seems to help. But I must still be doing something wrong. The map draws and the marke

[Google Maps API v3] Re: Can't get clusterer working.

2010-06-08 Thread William
GOverlay sounds like V2 code, so verify the markerclusterer.js is from the V3 version at http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclusterer/1.0/src/ -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To