For user who use many (maybe over 100) makers (with XML/KML) would be great if could automatic clustering just set in myOptions i.e clustering:0/1 without MarkerManager or MarkerClusterer class.
I don't know why support something like this. What do you think? :) http://www.shift.jp.org/en/map/ This is a sample of v2 version of automatic clustering depends on zoom level. On May 11, 12:25 am, Fredrik Bonander <carl.fredrik.bonan...@gmail.com> wrote: > I'll email him. > > Well, unfortunately no. But the current project I'm working on will be > released in the next couple of weeks. I'll update you with a link then. > > ..fredrik > > On 10 maj 2010, at 17.08, Björn Brala wrote: > > > > > If you are interested in opensourcing it, joing the Utility library team. I > > think you should email daniel...@google.com to get access :) > > > Have you got a working example somewhere? > > > 2010/5/10 Fredrik Bonander <carl.fredrik.bonan...@gmail.com> > > Don't know if the problem got solved. But if anyone's interested I've built > > a markermanager using google maps MVC object, that supports, different zoom > > levels, custom marker and categorized markers. > > > ..fredrik > > > On 9 maj 2010, at 14.14, TK wrote: > > >> Oh, I see I should use the MarkerClusterer class not MarkerManager. > > >> Will try to do so. > > >> Thank you very much. > > >> On 5月9日, 午後9:04, Björn Brala <bbr...@gmail.com> wrote: > >>> You will need to specify the zoom level on which the marker should be > >>> visible. It doesn´t do that automaticly. > > >>> If you want automatic clustering you might want to use the Clusterer class > >>> in the same library. > > >>> 2010/5/7 TK <taketo.ogu...@gmail.com> > > >>>> I would like to do like this with API v3. > >>>>http://www.shift.jp.org/en/map/ > >>>> This is v2 version without MarkerManager. > > >>>> Can't I do it with API v3 with MarkerManager? > > >>>> On May 7, 9:02 pm, TK <taketo.ogu...@gmail.com> wrote: > >>>>> You're so kind. I've put the code onhttp:// > >>>>www.shift.jp.org/ja/map/index.html > > >>>>> I though there is one marker when zoom out but seems there are all > >>>>> markers. > > >>>>> Is this right function of MarkerManager? > > >>>>> On 5月6日, 午後11:01, Björn Brala <bbr...@gmail.com> wrote: > > >>>>>> I posted this to the wrong thread, oops. > > >>>>>> I think i fixed it ;) > > >>>>>>http://www.geostart.nl/test.html > > >>>>>> 2010/4/22 TK <taketo.ogu...@gmail.com> > > >>>>>>> Hi again, > > >>>>>>> Still have errors > > >>>>>>> error: missing ) after argument list > >>>>>>> file:http://www.shift.jp.org/ja/map/index.html > >>>>>>> line: 49 > >>>>>>> code: function createMarker(name, latlng) { > > >>>>>>> error: initialize is not defined > >>>>>>> file:http://www.shift.jp.org/ja/map/index.html > >>>>>>> line: 1 > > >>>>>>> Sorry many ask. > > >>>>>>> On Apr 22, 3:33 pm, Cosmin Pitu <pitu.cos...@gmail.com> wrote: > >>>>>>>> Hi again, > > >>>>>>>> I think the problem is that you are closing the initialize() > >>>> function > >>>>>>>> as if it were a closure (e.g. something like > >>>>>>>> "google.maps.event.addListener(foo, function() { });" , notice the > >>>>>>>> usage of "});" instead of regular "}"), try changing : > > >>>>>>>> "mgr.addMarkers(markersForManager, 1, 22); > >>>>>>>> mgr.refresh(); > >>>>>>>> }); > > >>>>>>>> }); " > > >>>>>>>> into > > >>>>>>>> "mgr.addMarkers(markersForManager, 1, 22); > >>>>>>>> mgr.refresh(); > >>>>>>>> });} " // function initialize() { } not function initialize() { > >>>> }); - > > >>>>>>>> there's no parenthesis to close > > >>>>>>>> You might want to fix the indenting as Bjorn indicated. > >>>>>>>> The call to refresh is ok, it's after the "for(". > > >>>>>>>> Hope this helps ! > > >>>>>>>> -- > >>>>>>>> You received this message because you are subscribed to the Google > >>>> Groups > >>>>>>> "Google Maps JavaScript API v3" group. > >>>>>>>> To post to this group, send email to > >>>>>>> google-maps-js-api...@googlegroups.com. > >>>>>>>> To unsubscribe from this group, send email to > >>>>>>> google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com> > >>>> <google-maps-js-api-v3%2bunsubscr...@googlegroups.com<google-maps-js-api-v3%252bunsubscr...@googlegroups.com> > > >>>>>>> . > >>>>>>>> For more options, visit this group athttp:// > >>>>>>> groups.google.com/group/google-maps-js-api-v3?hl=en. > > >>>>>>> -- > >>>>>>> You received this message because you are subscribed to the Google > >>>> Groups > >>>>>>> "Google Maps JavaScript API v3" group. > >>>>>>> To post to this group, send email to > >>>>>>> google-maps-js-api...@googlegroups.com. > >>>>>>> To unsubscribe from this group, send email to > >>>>>>> google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com> > >>>> <google-maps-js-api-v3%2bunsubscr...@googlegroups.com<google-maps-js-api-v3%252bunsubscr...@googlegroups.com> > > >>>>>>> . > >>>>>>> For more options, visit this group at > >>>>>>>http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > >>>>>> -- > >>>>>> Bjorn Brala > >>>>>> ----------------www.GeoStart.nl/english/-Googlemaps- Swis > >>>> Webdesignwww.twitter.com/bbrala > > >>>>>> -- > >>>>>> You received this message because you are subscribed to the Google > >>>> Groups "Google Maps JavaScript API v3" group. > >>>>>> To post to this group, send email to > >>>> google-maps-js-api...@googlegroups.com. > >>>>>> To unsubscribe from this group, send email to > >>>> google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com> > >>>> . > >>>>>> For more options, visit this group athttp:// > >>>> groups.google.com/group/google-maps-js-api-v3?hl=en. > > >>>>> -- > >>>>> You received this message because you are subscribed to the Google > >>>>> Groups > >>>> "Google Maps JavaScript API v3" group. > >>>>> To post to this group, send email to > >>>> google-maps-js-api...@googlegroups.com. > >>>>> To unsubscribe from this group, send email to > >>>> google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com> > >>>> . > >>>>> For more options, visit this group athttp:// > >>>> groups.google.com/group/google-maps-js-api-v3?hl=en. > > >>>> -- > >>>> You received this message because you are subscribed to the Google Groups > >>>> "Google Maps JavaScript API v3" group. > >>>> To post to this group, send email to > >>>> google-maps-js-api...@googlegroups.com. > >>>> To unsubscribe from this group, send email to > >>>> google-maps-js-api-v3+unsubscr...@googlegroups.com<google-maps-js-api-v3%2bunsubscr...@googlegroups.com> > >>>> . > >>>> For more options, visit this group at > >>>>http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > >>> -- > >>> Bjorn Brala > >>> ----------------www.GeoStart.nl/english/-Google maps - Swis > >>> Webdesignwww.twitter.com/bbrala > > >>> -- > >>> You received this message because you are subscribed to the Google Groups > >>> "Google Maps JavaScript API v3" group. > >>> To post to this group, send email to > >>> google-maps-js-api...@googlegroups.com. > >>> To unsubscribe from this group, send email to > >>> google-maps-js-api-v3+unsubscr...@googlegroups.com. > >>> For more options, visit this group > >>> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Google Maps JavaScript API v3" group. > >> To post to this group, send email to > >> google-maps-js-api...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-maps-js-api-v3+unsubscr...@googlegroups.com. > >> For more options, visit this group > >> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- > > Fredrik Bonander > > carl.fredrik.bonan...@gmail.com > > +46 70 943 5441 > > > - the infinite power of the creative mind - > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to google-maps-js-api...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-maps-js-api-v3+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > -- > > Bjorn Brala > > ---------------- > >www.GeoStart.nl/english/- Google maps - Swis Webdesign > >www.twitter.com/bbrala > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to google-maps-js-api...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-maps-js-api-v3+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > Fredrik Bonander > carl.fredrik.bonan...@gmail.com > +46 70 943 5441 > > - the infinite power of the creative mind - > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to google-maps-js-api...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.