MapTools.org

[Chameleon] multiple zoomin before map arrives

bartvde@xs4all.nl bartvde@xs4all.nl
Mon, 12 Jan 2004 18:52:50 +0100 (CET)
Hi Paul,

this works for the zoomin, zoomout en recentre.

But not for the update map button and the pan. Do you know a quick
solution for those as well?

Thanks.

Best regards,
Bart

> Bart,
>
> I'm not sure how this would help?  My feeling is that submit of the page
> actually gets conflicted some how because it happens twice.
>
> Try the attached file to see if it fixes your problem.  What I did was
> to explicitly cancel the event handlers just before the submit.
>
> Cheers,
>
> Paul
>
> bartvde@xs4all.nl wrote:
>
>> Hi Paul,
>>
>> I checked and you're right that this is an IE only issue (like many
>> others
>> ofcourse :-( ).
>>
>> I found a possible solution but don't know exactly where to add this to
>> Chameleon, perhaps you can point me to the right widget/piece of code to
>> implement this, as this is a "killing bug" for us since our customer
>> only
>> works with IE 6.
>>
>> The solution is at:
>> http://www.insidedhtml.com/tips/backend/ts04/page2.asp
>>
>> Thanks in advance.
>>
>> Best regards,
>> Bart
>>
>>
>>>Bart,
>>>
>>>I think this is an issue with IE.  I have noticed this in chameleon but
>>>also other applications I think.  I have never had the problem in
>>>Mozilla (that I am aware of).  One possible cause could be that the
>>>mouse events are still processed after a submit?  If this is the case
>>>then the new javascript framework should be designed to allow event
>>>handling to be turned off on a page submit.  I don't know if this will
>>>fix the problem.
>>>
>>>Cheers,
>>>
>>>Paul
>>>
>>>bartvde@xs4all.nl wrote:
>>>
>>>
>>>>Hi list,
>>>>
>>>>when zooming in on the map, sometimes users get impatient (at least a
>>>>colleague of mine who just tested the application .... :-( ) and click
>>>>on
>>>>the map again before the map update has finished. In this case the
>>>>Chameleon client application will "hang".
>>>>
>>>>The same thing happens when first clicking in the map with the zoomin
>>>>tool, and then drawing a box before the map update finishes.
>>>>
>>>>Also when pressing the "update map" button twice too soon, the same
>>>>thing
>>>>happens.
>>>>
>>>>Is there any way to prevent this behaviour? It is a pretty serious
>>>> issue
>>>>in my opinion, as the result can be that the application hangs.
>>>>
>>>>Best regards,
>>>>Bart
>>>>_______________________________________________
>>>>Chameleon mailing list
>>>>Chameleon@lists.maptools.org
>>>>http://lists.maptools.org/mailman/listinfo/chameleon
>>>>
>>>
>>>--
>>>  -----------------------------------------------------------------
>>>|Paul Spencer                           spencer@dmsolutions.ca    |
>>>|-----------------------------------------------------------------|
>>>|Applications & Software Development                              |
>>>|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
>>>  -----------------------------------------------------------------
>>>
>>>
>>
>>
>>
>
> --
>   -----------------------------------------------------------------
> |Paul Spencer                           spencer@dmsolutions.ca    |
> |-----------------------------------------------------------------|
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
>   -----------------------------------------------------------------
>



This archive was generated by Pipermail.