When I have this problem, i usually set a small offset for the lat/lon so when the zoom feature kicks in, it show's the markers separated.
Fede, a bit offtopic, but what modal script did you use? i'm looking for an easy one to use in some of my scripts.. cheers! Sexta-feira, 28 de Dezembro de 2012 1:28:20 UTC, Fede escreveu: > > Thanks again asgallant! > > I decided to do exactly that, create a single marker per office and attach > a modal to the click event of the marker to show the employees details. > > On Thursday, December 27, 2012 11:26:44 PM UTC-2, asgallant wrote: >> >> Perhaps your best bet is to use a single marker per office, which give >> the number of employees or a list of all the employees at the office. >> >> On Thursday, December 27, 2012 8:25:33 PM UTC-5, asgallant wrote: >>> >>> You could offset the lat/longs a bit to get separation of the markers. >>> >>> On Thursday, December 27, 2012 12:31:18 PM UTC-5, Fede wrote: >>>> >>>> Hi asgallant, >>>> >>>> Thanks for your reply, I thought of that but I have the same problem >>>> since employees that work in the same office have the same latitude and >>>> longitude coordinates. >>>> >>>> Thanks >>>> >>>> On Thursday, December 27, 2012 3:12:31 PM UTC-2, asgallant wrote: >>>>> >>>>> You could use lat/long coordinates for the marker locations, which >>>>> would allow you to cluster multiple markers, but there is nothing in the >>>>> API that will do this for you, so you'll have to manually set lat/long >>>>> coordinates for every employee. >>>>> >>>>> On Thursday, December 27, 2012 11:11:23 AM UTC-5, Fede wrote: >>>>>> >>>>>> Hi Everyone, >>>>>> >>>>>> I'm trying to use the Geochart to display where each of our employees >>>>>> are located but I have more than one employee in each office so I need >>>>>> to >>>>>> display like a cluster of markers since if I create two markers for the >>>>>> same city only the last one is showed. >>>>>> >>>>>> Here is an example of what I'm trying to achieve: >>>>>> http://jsfiddle.net/Danath/dXEdz/4/ >>>>>> >>>>>> Thanks in advance! >>>>>> >>>>>> Fede >>>>>> >>>>> -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/UtzGMpN7oXgJ. 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-visualization-api?hl=en.
