[OpenLayers-Dev] removeComponent from LinearRing seems to remove too much points

Eric Lemoine eric.lemoine at camptocamp.com
Tue Dec 4 23:05:28 PST 2012


On Wed, Nov 28, 2012 at 11:22 AM, Fabian Patzke 2
<listensammler at patzi.de> wrote:
> the correction in LinearRing should of course be:
> removeComponent: function(point) {
>         var removed = this.components && (this.components.length > 4);
>         if (removed) {


I think you're correct. A pull request would be great.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 94
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list