As I also said, this map that I'm showing here is a small sample
because my real map is behind a firewall. The actual map has about 300
points, and the clustering DID work before I added the code in to
create the infowindows, so obviously there are enough points to create
a cluster.

I'm not sure I understand what you mean about the map: map property of
the marker. Are you saying I should remove that, so the points don't
display unless the cluster is clicked on to zoom in?

On Feb 25, 1:29 pm, "[email protected]" <[email protected]>
wrote:
> On Feb 25, 11:09 am, estherM <[email protected]> wrote:
>
> > It didn't even occur to try IE; I thought firebug was the standard for
> > debugging javascript but it didn't give me that error at all.
>
> > However, as I mentioned, I had also tried with the two lines that are
> > causing IE errors inside my setMarkers function, where mapPoints is
> > defined. I moved the code back there, and checked in IE. No errors
> > anymore, but it still only shows individual markers, not clusters.
>
> I don't think you have enough markers for the clusterer to cluster
> them.  Also, this property of the marker:
> map: map
>
> adds the marker to the map (so it will display whether it is managed
> by the markerclusterer or not.
>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > On Feb 25, 12:47 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Feb 25, 9:57 am, estherM <[email protected]> wrote:
>
> > > > I'm trying to combine the MarkerClusterer code with the info balloons
> > > > code found athttp://www.geocodezip.com/v3_markers_infowindows.html.
> > > > Before I added the code that creates a listener and info balloon for
> > > > each marker, the clustering worked. It no longer does. My map is 
> > > > athttp://www.esthermstrom.com/maps/maptest.html.
>
> > > > (The points on that map are actually just a small sampling; the real
> > > > map will have several hundred points over the midwestern U.S. area, so
> > > > we definitely do need clustering, even if it doesn't look like it on
> > > > the sample.)
>
> > > > Currently the code for creating the clusters is called in my
> > > > initialize function, right after setMarkers; I've also tried it inside
> > > > setMarkers (after the loop) but got the same (lack of) results.
>
> > > > Can anyone point me in the right direction? It's been years since I've
> > > > done client-side code (I'm a php developer) and I'm having trouble
> > > > debugging this. I have firebug installed but it's not throwing any
> > > > errors; it's just not doing the clustering.
>
> > > In IE I get:
> > > Line: 32
> > > Error: 'mapPoints' is undefined
>
> > > and I see markers.
>
> > > The problem I see is that mapPoints is local to the setMarkers
> > > function, you either need to return it or make it global so it can be
> > > used in the call to create the markerclusterer.
>
> > >   -- Larry- Hide quoted text -
>
> > - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
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-api?hl=en.

Reply via email to