Re: [OpenMap Users] OpenMap 4.6 and selection (+ drawing tool weirdness)

From: Matt Brennan <lists@classforge.com>
Date: Tue Mar 23 2004 - 21:27:07 EST

Don Dietrick wrote:
>>
>> i'd like to provide the following behaviours in Gestures mode:
>>
>> 3. a "shift left click to select more entities" - that toggles
>> selection on entities to build a larger selection list.
>>
>> 4. an ability in gestures mode that allows the user to click
>> elsewhere on the map and deselect all (is there some other orhodox
>> manner to achieve deselection?).
>>
>> lots of exisiting infrastructure appears to help this (and the
>> Drawinglayer provides a sort of parallel example) so i have taken the
>> OMGraphicHandlerLayer that provides something like this functionality
>> and overridden some of its methods ([un]highlight and [de]select).
>
> To get a little deeper, you can create a MapMouseInterpreter class (or
> extend StandardMapMouseInterpreter) and get to another layer of
> notifications. The OMGraphicHandlerLayer automatically sets a new
> StandardMapMouseInterpreter on itself if the mouse mode property is set.

thanks for your reply Don... i will extend StandardMapMouseInterpreter
and see how far i get. :-)

cheers,

   matt

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Mar 23 21:26:55 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT