[OpenLayers-Dev] Taking a look at ModifyFeature()

Jeff Dege jdege at korterra.com
Wed Nov 14 16:49:08 EST 2007


Done  #1148 

> -----Original Message-----
> From: Eric Lemoine [mailto:eric.c2c at gmail.com] 
> Sent: Wednesday, November 14, 2007 2:52 PM
> To: Jeff Dege
> Cc: dev at openlayers.org
> Subject: Re: [OpenLayers-Dev] Taking a look at ModifyFeature()
> 
> On Nov 12, 2007 5:01 PM, Jeff Dege <jdege at korterra.com> wrote:
> > When ModifyFeature is active on a vector layer, when a feature is
> > selected, ModifyFeature breaks the feature down into its component
> > points and inserts them (and an equal number of virtual 
> points) into the
> > layer.
> >
> > If the layer has preFeatureInsert() and/or onFeatureInsert() methods
> > defined, these are called for the component points and 
> virtual points
> > that ModifyFeature is inserting into the layer.  But 
> generally speaking,
> > whatever logic the developer intended to be performed on 
> the features
> > for that layer, is probably not wanted to be performed on 
> the component
> > and virtual points that ModifyFeature is inserting.
> >
> > Would it be reasonable for ModifyFeature to set some 
> attribute on the
> > points that it is inserting that a developer could test in
> > preFeatureInsert()?  Or is there some other way of dealing with this
> > issue?
> 
> This deserves a ticket I think. Could you create one please?
> 
> --
> Eric
> 



More information about the Dev mailing list