[OpenLayers-Dev] ModifyFeature control - multiple
selection support
Alexandre Dube
adube at mapgears.com
Fri Dec 11 11:08:52 EST 2009
Andreas,
Nice. So instead of using a FeatureHandler, the future SelectControl
would listen to these events instead, right ?
Alexandre
Andreas Hocevar wrote:
> Hi,
>
> I think the future way to go is something based on Tim's experiments
> with the FeatureAgent. See the example:
> http://dev.openlayers.org/sandbox/tschaub/select/examples/feature-events.html
>
> Multilayer support for ModifyFeature would e.g. still not make it
> possible to grab features that are entirely covered by another feature.
> With the FeatureAgent, you would also be able to edit such a feature.
>
> Regards,
> Andreas.
>
> On 2009-12-11 15:10, Alexandre Dube wrote:
>
>> Hi devs,
>>
>> === short version ===
>>
>> * Is there any plan to support multiple feature selection in the
>> ModifyFeature control ?
>> * If not, would that make sense to support it ? (Clicking features
>> beyond the first one would enable the editing for those as well while
>> keeping the first one selected too)
>>
>> === long version : the need ===
>>
>> There's a Redling tool discussion going on on the GeoExt-dev ML [1].
>> Among the needs, there's the "multiple feature" edition. Basically, it
>> would be possible for a user to select as many feature as they want and
>> edit their style and/or attributes in a form, but having the possibility
>> to edit the geometry too would be nice.
>>
>> After making some tests with the current trunk version of the
>> ModifyFeature control, it's possible to select many features (with the
>> standalone option turned on), but if a feature is already selected,
>> selecting an other feature removes the 1st feature vertexes and
>> reselecting it won't make them reappear.
>>
>> === small conclusion ===
>>
>> I'm doubt the multi-feature edition could be that useful, but who
>> knows... I'd like to know your thoughts on the subject, please.
>>
>> Many thanks,
>>
>> [1] http://trac.geoext.org/wiki/ux/Redlining
>>
>>
>>
>
>
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Dev
mailing list