Hello all, Recently I found out that the getCentroid method for linestring geometries return the first point of the line. According to this changeset [1], user needs to set true to the getCentroid argument (weighted) in order to get the *real* centroid.
In my opinion, this "weighted" option should be set to true unless user explicitely set it to false. Any other opinion? Pierre [1] http://trac.osgeo.org/openlayers/changeset/10652 -- Pierre GIRAUD Géomaticien, Analyste Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 93 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
