Hi Atle,
Yes we tried an approach that used the split function on a feature to
remove points, calculating the necessary distance to move points away
from the intersection, and found it wasn't nearly fast enough to match
the eraser function one might expect in say an graphics package. I
gather
Aha, now I understand what you mean.
Not that I am any export on this, but I still think it is a bit ugly to
mask the SVG and these things. The underlaying vector features will not
reflect the change if you do so, but perhaps it is the best solution for
a given context?
Another approach could be
Thanks for your response Atle,
I'm trying to achieve a result that when I draw lots of lines on a page,
that I can erase everything underneath a path, preserving the parts of
the features not touched by the eraser. This isn't therefore a case of
removing the entire feature (more of a 'hide' fea
Hmm, I think your proposal looks overly complicated. Why don't just
remove the feature from the layer it is drawn on?
And possibly store it somewhere else if you want to regret the deletion?
Or am I misunderstanding you here?
-atle
On Wed, 2010-01-27 at 12:28 +, Dan Garland wrote:
> Any ta
Any takers? Or am I on the wrong track here?
Thanks in advance,
Dan
Dan Garland wrote:
> Hi all,
>
> I'm a Ruby on Rails developer working on my first project with
> OpenLayers. I'm tasked with developing an free-hand eraser tool that can
> erase features created by the drawFeatures tool. Amon
Apologies if this was received twice- I didn't see it show up on the
archive page and didn't get a bounceback...
Hi all,
I'm a Ruby on Rails developer working on my first project with
OpenLayers. I'm tasked with developing an free-hand eraser tool that can
erase features created by the drawFea