[Chameleon-dev] [Bug 376] Zoomin with box has problems in IE

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Wed May 12 11:10:17 EDT 2004


------- Additional Comments From pspencer at dmsolutions.ca  2004-05-12 11:10 -------
I think there may be two separate issues here.  First is the dragging thing and
second is the mouse movement and need to click ...

The dragging thing first ...

I don't seem to be able to reproduce the drag problem in IE but I can in FireFox
... interesting ... I would like to suggest adding an event handler to
accomodate this:

document.ondragstart = CWCOnDrag;

function CWCOnDragStart( e )
    var target;
    if (CWCIsIE)
        e = event;
        target = event.srcElement;
        e.cancelBubble = true;
        e.returnValue = false;
        target = e.target;
        if (e.cancelable)
            e.cancelBubble = true;

Bart, can you try adding this to your template and see if it resolves your
problem?  If yes, then I will probably include this in the javascript functions
provided by the MapDHTML widget

Now the movement thing ...

There is an issue I have observed with the mouse moving outside the map area,
this will cause the zoom tool to stop tracking mouse movement and requires a
second mouse down/mouse up inside the map area to trigger the zoomin, even
though moving the mouse with no button down causes the zoom box to follow the
mouse.  Is this what is happening for you?

This issue may occur with Chameleon 1.99 beta because we modified the movement
handlers to only trigger when the mouse is over the map.  We may need some
additional logic to know that a tool is in use and not unhook the handlers.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Chameleon-dev mailing list