Closed (fixed)
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2009 at 16:47 UTC
Updated:
27 Jul 2010 at 01:30 UTC
Hi there, using gmap for a while since we came over the problem with the same lon/lat http://drupal.org/node/530328 this week. There is a pretty cool cluster handler around called markerclusterer http://gmaps-utility-library-dev.googlecode.com/svn/tags/markerclusterer... .. which shows the count of locations at a place and gets more detailed once zooming in. I'm wondering if this is a feature that makes sens as the gmap tools module already using it.
Comments
Comment #1
trevorsheridan commentedI would like to see this in GMap as well.
Trevor
Comment #2
swentel commentedI'm also in favor of that clusterer. I'm willing to write a patch for it, I'll try to investigate and see how extra managers can be added to the system - tips are also welcome! :)
Comment #3
NigelC commentedsubscribe
Comment #4
NigelC commentedWait, isn't this the Gmaps Utility Library MarkerManager which is in the dev release?
Comment #5
nchase commented@NigelC, no it isn't. MarkerClusterer is something different. It is used in the GMap Tools and thats why I'm now switching over to Gmap Tools.
Comment #6
stella commented+1 for this, @swentel did you ever figure out a patch for it? I plan on having a look too
Comment #7
bdragon commentedImplemented on a whim.
Haven't figured out how I want to do the support for custom styles, but the basics seem to work on my test site.
http://drupal.org/cvs?commit=377386
http://drupal.org/cvs?commit=377388
http://drupal.org/cvs?commit=377390
Comment #8
webavant commentedIt works great, except the count is not correct. The count displays "2" no matter what.
Comment #9
rooby commentedIt's working for me, including the count.
Anyone else having count issues?
Are you getting any javascript errors on the page or anything?
Comment #10
webavant commentedNo errors, and here's the thing, it shows "2" for each node, but when I simply zoom out/in one step it updates to the correct values and doesn't have any further problems.
Comment #11
zwoelfgrad commentedHello, my first post here.
same problem like webavant. With a blank installation it works fine, but with the same configuration (Gmaps and Location) and existing data there is no way for me to get the clusters working correctly. I have about 500 nodes with Geo content, in the current Drupal there are outputted with taxonomy markers, the bubble includes title, node teaser, date. Author name and company are integrated via views relationsship.
You see, I have to start making thoughts about the amount of data and also the composition of the markers. The clusters would be an excellent solution for the second problem. For the first problem I will only output the node title but it is conceivable that someday the problem will return. I am still looking for an solution... any Ideas welcome
Comment #12
zwoelfgrad commentedGot it working… you have to enable "autozoom" an the GMap settings. No idea why, but it works.
Comment #13
rooby commentedIf you are finding odd things like having to enable autozoom to get markerclusterer to work I suggest opening a new issue for that so it can be investigated.
Now that support for marker clusterer has been added it would be good to keep any new issues with it in their own issues.
It's easier to track that way. And easier for people to find if they have the same problem.
Comment #14
webavant commentedThanks, I went ahead and created a new issue.
Comment #15
marcushenningsen commented@zwoelfgrad: I have autozoom enabled and still have the problem. Have do your settings look like besides the autozoom, if I may ask?
Comment #16
Freakachoo commentedFor me it works when i delete from macros zoom=4| (preinstalled zoom for map). (and ofcourse enable autozoom).
Maybe it helps you.
Comment #17
rooby commented@Freakachoo:
That issue is now at #837092: Markercluster incorrect count