If you take Barry Ratliff's example for drawing polyclusters: http://home.provide.net/~bratliff/polycluster/v3/coast.html and try and add markers using MarkerManger, I am getting inconsistent results. Sometimes I get all the markers visible on the map and at other times no markers are visible. I am calling the refresh() right after the mgr.addMarkers. The only other quirk is I am reading the marker locations dynamically through an XMLHttp read (AJAX). Not sure if this has anything to do with the problem. I can display the markers without any trouble if I use the "new google.maps.Marker()" call.
On Jan 25, 9:21 am, "[email protected]" <[email protected]> wrote: > On Jan 25, 7:06 am, AEmmanuel <[email protected]> wrote: > > > Larry, > > > This is a V3 application. Unfortunately, I do not have the > > permission to make application available to the outside world > > during the development phase. > > From the v2 group, but still > applicable:http://groups.google.com/group/google-maps-api/web/why-including-a-li... > > > > > It was hoping someone will comment if Polycluster and MarkerManger > > can or cannot coexist in the same application. > > I don't know of any reason they couldn't. Show me an example where > they don't. > > -- Larry > > > > > Thanks, > > > On Jan 25, 8:45 am, "[email protected]" <[email protected]> > > wrote: > > > > On Jan 25, 6:35 am, AEmmanuel <[email protected]> wrote: > > > > > Bumping up the discussion list to see if someone will respond! > > > > Did you consider following the posting guidelines (and providing a > > > link to your map that exhibits the problem)? > > > >http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e > > > > -- Larry > > > > > On Jan 24, 4:44 pm, AEmmanuel <[email protected]> wrote: > > > > > > I am having trouble using Marker Manager and Polycluster classes > > > > > together in a Google Map API V3 map. I have a large number of > > > > > polylines that I want to display using the Polycluster class. The > > > > > Polycluster class by itself works fine for me. However when it come to > > > > > displaying markers on the same map using the Marker Manger class, I am > > > > > having trouble. The map works so erratically and display a few > > > > > markers. If I remove the reference to the Marker Manager class and use > > > > > the simple "new google.maps.Marker" call the markers are displayed > > > > > fine. Only the MarkerManager.addMarker(marker) seems to cause the > > > > > problem. Conversely the MarkerManager works fine as long as there is > > > > > no reference to the Polycluster class. Since I have a large number of > > > > > makers and lines to display I need to use both the Polycluster and > > > > > MarkerManager(or similar) classes. > > > > > > Has anyone experienced the same problem? Appreciate your advice. > > > > > > Abraham -- 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 [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-js-api-v3?hl=en.
