[Chameleon-dev] [Bug 1401] New: QuickZoom can double-zoom in
certain circumstances
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Wed Apr 5 09:52:31 EDT 2006
http://bugzilla.maptools.org/show_bug.cgi?id=1401
Summary: QuickZoom can double-zoom in certain circumstances
Product: Chameleon
Version: 2.4
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: mcgrawj at agr.gc.ca
If the NAV_CMD contains a zoom in/out setting, for example (or anything that
will change extents), and the user selects a QuickZoom list item, the map view
is taken to the QuickZoom extents and later in the process the extents are
zoomed in farther or out (whatever's in the NAV_CMD). This problem may have
only exhibited itself when we converted our app to fullly support the JSAPI; it
was months ago and I can't remember. Anyway, we thought this was odd behaviour
and in our application added a clearing of the NAV_CMD to the changeQuickZoom
javascript function as detailed below. If you agree, that when the QuickZoom is
used the NAV_CMD should be cleared, you will want to add these same lines of
code to the Chameleon core. Otherwise, feel free to disregard this suggestion.
if ({$bCWCJSAPI})
{
goCWCJSAPI.NAV_CMD.value = ""; // added this line
goCWCJSAPI.NAV_QUICKZOOM = extents;
goCWCJSAPI.UpdateNavQuickZoom();
}
else
{
{$this->mszHTMLForm}.NAV_CMD.value = ""; // added this line
{$this->mszHTMLForm}.submit();
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list