On Thu, 2008-12-11 at 08:39 +0100, Didrik Pinte wrote:
> > 
> > getDataExtent only works against the features currently in the layer --
> > it isn'at aware of the 'subfeatures' inside the clusters. 
> 
> Ok, that explains the problem but the clusters have a data extent that
> should approximately match the one of all the features, no ?

I have investigated a bit further. The Cluster strategy hides the
clustered feature inside the cluster but the cluster is a feature inside
the original layer. Thus, getDataExtent should get back with a bounding
box around all the clusters and other features of the layer. In my case,
the bounding box is just wrong, correctly centered but zoom is much too
close, subsequently you see no data ;-)

Didrik

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to