[Chameleon] Erratic behaviour of the KeyMapDHTMLMode widget used as recentering/panning function under JSAPI

Carlo Trönnberg carlo.t at chello.hu
Thu Oct 5 09:47:30 EDT 2006


It wasn't working with the previous version either....
This was one of the reasons why I wanted to upgrade in the first place. I 
thought that the new version would have fixed this.
The weird thing is that the zoombox function of the same widget is working 
perfectly under JSAPI...

Cheers,

Carlo
----- Original Message ----- 
From: "Julien-Samuel Lacroix" <jlacroix at mapgears.com>
To: "Carlo Trönnberg" <carlo.t at chello.hu>
Cc: <chameleon at lists.maptools.org>
Sent: Thursday, October 05, 2006 15:39
Subject: Re: [Chameleon] Erratic behaviour of the KeyMapDHTMLMode widget 
used as recentering/panning function under JSAPI


> Hi,
> Sorry for the late response.
> I don't think the panning/recentering function of the keymap have been 
> fully tested/supported with the JSAPI mode. So I don't think there's 
> currently a fix for this.
>
> If it was working with the 1.99 version, you may try to reuse the 
> widget...
>
> Let us know if it works.
>
> Julien
>
> Carlo Trönnberg wrote:
>> Hi there!
>>
>> I just made a complete fresh MS4W reinstallation with the latest official 
>> MS4W and Chameleon.
>>
>> Everything works ok but one: In the Enhanced Sample using the JSAPI mode, 
>> the panning/recentering function of the keymap has an erratic behaviour.
>> (KeyMapDHTMLMode used in recenter mode).
>>
>> Instead of recentering it will move a red box containing the whole 
>> keymap, but after releasing the mouse button, if will effectively have 
>> made a zoom box from the mouse-down to the mouse-up locations.
>>
>> Anybody have the same problem? If yes, is there a fix?
>>
>> If I remove the 2 JSAPI rows, then everything works ok.
>> I got the same symptom when adding JSAPI support to my own project and 
>> wanted to test if the default JSAPI sample comming with Chameleon had the 
>> same behaviour. Unfortunately it does.
>>
>> I used till now Chameleon 1.9 but wanted to upgrade to the latest version 
>> for my new project.
>>
>> Cheers,
>>
>> Carlo
>> _______________________________________________
>> Chameleon mailing list
>> Chameleon at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/chameleon
>
> -- 
> Julien-Samuel Lacroix
> Mapgears
> http://www.mapgears.com/ 



More information about the Chameleon mailing list