[Chameleon] Unwanted Zoom
Paul Spencer
pspencer at dmsolutions.ca
Tue Jun 14 12:21:18 EDT 2005
Dirk,
there have been some bugs fixed recently pertaining to this problem,
they will be available in the 2.2 release that should be coming out shortly.
If this is in your own javascript functions, the only thing you need to
do is set document.forms[0].NAV_CMD.value = ''; before submitting the
page. The state of the selected tool is maintained in a separate
variable, and the NAV_CMD is used to tell if a particular tool should
operate on the current page submission. By setting it to an empty
value, you are telling the widgets to ignore the page submit.
The bug fixes were all to do with other widgets not properly clearing
this form variable under particular circumstances.
Cheers
Paul
Dirk Jesko wrote:
> Dear all,
>
> When executing some function in a Chameleon GUI that submits the page,
> the currently selected function from the navigation toolset is also
> executed. This is not a problem unless one of the zoom-tools is
> currently active. For example if I change the projection or the language
> while "Zoom in" is active, the map will also change scale.
>
> Is there any way to prevent this other than choosing a different
> navigation tool, e.g. pan, prior to changing projection or language?
>
> Regards,
> Dirk
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the Chameleon
mailing list