[OpenLayers-Users] Default 'delete' style

Alexandre Dube adube at mapgears.com
Tue Jul 21 09:25:52 EDT 2009


Andreas Hocevar wrote:
Hi,

> Hi,
>   
>
> Some users might as well find it strange if deleted features stay on
> the screen. The idea here was to remove features from the map that
> will be deleted with the next delete operation of a protocol. I guess
> this is a question of taste and / or user interface design, and since
> most application developers will define their own StyleMap, adding a
> "delete" renderIntent will probably be part of that. We needed a
> default style for that, and invisible seemed to be the most logical
> one.
>
> Andreas.
>
>   

You're right.  It's indeed a logical 'default behavior'.  I was just 
surprised at first because I thought the feature was already destroyed 
but it was just invisible.

Thanks for the explanation, Andreas.

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list