Hi Luke, first of all, thank you for MarketClusterer V3.
I think I found something odd / unexpected; don't know if it is a bug, so I will give you an overview first, if needed a can then provide further details. When, after creating a marker, I use the addMarker() method this seems to enlarge the the lat/lng bounds of the current viewport (the LatLngBounds that you get from the getBounds() method of the Map class), even if the position of each added marker is contained within. On the contrary, if I just create each marker (with the constructor of the Marker class) the lat/lng bounds remains exactly the same (as I would expect). As you can imagine this is quite an issue, in my personal case I use this LatLngBounds as a parameter to download appropriate data from a server DB. Is this behavior expected? I look forward to your comments. Best, Mario On 23 Feb, 03:10, "Luke (Google Employee)" <[email protected]> wrote: > Hey everyone! > > I've just checked in the first version of the Google Maps v3 > MarkerClusterer to the utility > library:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/marker... > > I've tried to keep the interface the same as the v2 library so the > transition to v3 should hopefully be fairly simple. > > If you're interested, have a read of the reference doc: > > http://google-maps-utility-library-v3.googlecode.com/svn/trunk/marker... > > Check out some examples here: > > http://google-maps-utility-library-v3.googlecode.com/svn/trunk/marker.... > > Reply back to this thread if you run into any problems/bugs. > > Thanks! > > Luke -- 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.
