unfortunately the following code....

for ( i=0;i<markers.length;i++ ) {
                                        if ( 
map.getBounds().contains(markers[i].getPosition()) ) {
                                                console.log('marker');
                                                if ( markers[i].getVisible() )
                                                        console.log(' - 
visible');
                                        }

                                }


....finds getVisible() to be true for every marker when the map is
showing a mix of markers and clusters - even those hidden in a cluster

thanks anyway

gdp

On Jul 12, 10:42 am, Rossko <[email protected]> wrote:
> You might check each markers getVisible() if it is invisible then
> MarkerCluster has hidden it e.g. it is in acluster

-- 
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.

Reply via email to