[OpenLayers-Users] recenter on a vector layer with Cluster strategy on

Didrik Pinte lists at dipole-consulting.com
Wed Dec 10 12:39:16 EST 2008


Hi,

I try to have a vector layer with a Cluster and Fixed strategy
automatically recenter after the feature are added to the layer.

It works fine with the Fixed strategy only but with the Cluster, it is
just wrong ...

Does anyone of you knows if this bug could be the source of the problem
#1820 ?

I am recentering using a layer.getDataExtent(). I suppose this is the
culprit.

Thanks in advance for any help.

Didrik

-- 
Didrik Pinte - Gérant/Manager

Dipole Consulting SPRL
E-mail : dpinte at dipole-consulting.com
Tel    : +32 (0)10 77 90 05
Mobile : +32 (0)475 665 668
Fax    : +32 (0)2 791 56 61
Web    : http://www.dipole-consulting.com 

TVA    : BE.0895.560.517
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081210/8d23ea35/attachment.bin


More information about the Users mailing list