Hi Peter,
On Mar 26, 2004, at 2:44 PM, Peter Wilkes wrote:
>
> Hello,
>
> i'm upgrading our openmap version from 4.5.4 to 4.6. got
> everything recompiled however things seemed to have changed slightly
> and
> i'm experiencing some stuff that either we never noticed before or
> wasnt
> happening by default.
>
> 1. a mouse mode named "Gesture" or "Edit" appears when the application
> starts. we have our own mouse modes and would prefer not to use these
> however i can not find in property where to remove them.
This is set in the openmap.properties file, you can remove the
selectMouseMode property from the openmap.components property. There
are other mouse modes in there, too, you can change which ones are
added to the application there.
> 2. in the "Drawing Tool" it appears to be using one of our layers as
> opposed to the "drawing tool layer" is it possible to remove our layer
> from the list so only the "Drawing tool layer" appears?
The drawing tool finds all layers that implement the
DrawingToolRequestor interface. You could remove your layer from the
MapHandler by setting the addToBeanContext flag = false, and then the
tool wouldn't find it. I don't know how that affects your layer,
though.
Alternatively, if your layer is using the drawing tool it finds in the
MapHandler, you could make a DrawingToolRequestor proxy object that
your layer uses that is hidden from the MapHandler that it gives to the
drawingTool, and then it can notify your layer when it receives
something back from the drawing tool.
Hope this helps,
- Don
>
> thxs for any assistance you can provide.
>
> Pete
>
> --
> [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"]
>
-- [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 Fri Mar 26 16:08:02 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT