Closed GoogleCodeExporter closed 9 years ago
Does the new 2.0.12 version of MarkerClustererPlus fix the problem?
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplu
s/2.0.12/
Original comment by garylitt...@gmail.com
on 21 Apr 2012 at 3:38
Sorry this does not seem to resolve the issue.
I did notice that when I drill in to a cluster on first click, then zoom back
out till the pins re-cluster. it is at this point I'm not able to click the
cluster to drill back down and observe the individual pins.
However, if I do reach this point of not being able to click on a cluster
again, that if I zoom the map very far out, that indeed the clusters that I
already clicked previous, work again but only from this high zoom level, never
the original zoom level I first clicked the cluster.
Original comment by devinray...@gmail.com
on 24 Apr 2012 at 5:19
Seeing similar behaviour to devinray -- using iPad1 ios5: click on a cluster,
zooms in successfully. Subsequent clicks on clusters at that level don't work,
but if I zoom out and click clusters at zoom levels higher (ie. further out)
than the one I zoomed into originally, it works ok.
(Using this method you can kinda zoom in on an area by clicking a cluster,
zooming in a couple of levels, zoom out a level, click on a cluster, zoom in a
bit more, zoom out a level, etc. But obviously not ideal behaviour).
Can be seen at: http://bit.ly/PoaTaj
Original comment by ja...@pikselin.com
on 13 Aug 2012 at 10:50
[deleted comment]
Should also point out that the demo above does work ok for me, but I'm using
the same version of markerclusterplus as the demo (packed version), but still
getting the errant behaviour on my build. Perhaps not playing nice with
jquery-ui-map?
Original comment by ja...@pikselin.com
on 13 Aug 2012 at 10:54
Please try all the examples at
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererpl
us/examples/ with the iPad.
Do they all work?
Sorry, I don't have an iPad to try this out myself.
Original comment by garylitt...@gmail.com
on 13 Aug 2012 at 11:06
Yeah, they're all good. It's an odd one. Like I say, I'm using the
jquery-ui-map plugin as well, so it may be a conflict on that front. And the
site that it's going onto is also bit of a beast, so there may be other
conflicts I'm not even aware of.
Anyway, I'm going to try and strip everything back and work my forward until it
breaks again. Will let you know if I glean any info from that exercise.
Original comment by ja...@pikselin.com
on 13 Aug 2012 at 11:38
[deleted comment]
Initial investigation would suggest it's the underlying version of jquery that
was causing the grief. Production site was using 1.4.2. Updated my (stripped
back) local build version to 1.7.2, and voila, all is well.
Hmm, locally, at least. Testing on staging server still shows errant behaviour,
regardless of jquery version. Gotta be a conflict elsewhere -- will continue
investigating (and apologies for dropping incomplete conclusions onto the
thread!)
Original comment by ja...@pikselin.com
on 14 Aug 2012 at 12:20
Here's a complex site that uses MarkerClusterPlus but NOT jquery-ui-map. Let me
know if it seems to work for you as well.
http://map.garylittle.ca/
Original comment by garylitt...@gmail.com
on 14 Aug 2012 at 12:27
Hi Gary, thanks for the example -- but when I click a cluster icon, I zoom in
to a point where there aren't any subsequent clusters, so I can't check the
errant behaviour (which is 'inbetween' clusters not working) -- if you could
tweak it so they don't break apart at that closer zoom level (maxZoom
property?) I'd be able to tell one way or another for sure. (No problems if
not, trying to remove the jquery-ui-map plugin entirely from my local code to
see if that is it).
Original comment by ja...@pikselin.com
on 14 Aug 2012 at 12:34
If you zoom out far enough, then click a cluster the clusters won't all split
apart at once (eventually they do).
Original comment by garylitt...@gmail.com
on 14 Aug 2012 at 12:54
Gotcha. And, yep, that works fine. It would definitely seem to be a conflict
with something (jquery-ui-map is top of the list, but could be something else).
I'm slowly adding in functionality to my local build to try and isolate when
the problem kicks in.
Thanks for your help, much appreciated!
Original comment by ja...@pikselin.com
on 14 Aug 2012 at 2:22
Got it!
I was creating my markers like so...
var marker = new google.maps.Marker({
lots of: other properties,
optimized: false
});
I'm animating all my markers on mouseover of another element to set the marker
bouncing; setting optimized to false made the start of the animation smoother.
Anyway, it was this optimized property that was the issue. Setting this to true
fixed the issue (it also broke the smoothness of my animation effect, but since
you can't mouseover in a touch device, I can set the optimized value
accordingly).
Phew.
Original comment by ja...@pikselin.com
on 14 Aug 2012 at 3:33
Well, you've got a workaround. I'm still not sure whose bug this is -- Google,
jquery-ui-map or ???
Original comment by garylitt...@gmail.com
on 14 Aug 2012 at 3:51
I think jquery-ui-map is off the hook on this one. I removed it entirely and
the problem remained.
Looking around the boards, there's at least a couple of issues open with
regards to that optimize property, particularly in regards to custom markers
(which I'm also using) -- so I suspect that's the root of the problem (what the
actual problem is, however, is beyond my ken).
Original comment by ja...@pikselin.com
on 14 Aug 2012 at 4:06
Original comment by garylitt...@gmail.com
on 18 Dec 2012 at 4:41
Original issue reported on code.google.com by
devinray...@gmail.com
on 16 Apr 2012 at 12:00