[ka-Map-users] Quck fix to make double clicking more accurate
Ed Cooley
ecooley at strategy5.com
Thu Nov 1 17:39:12 EDT 2007
Quick 2 line fix to make double clicking more accurate:
Clicking on the map is supposed to zoom in one level and center to the point
of the click. It first does a zoomTo to recenter the map, then does a
zoomIn.
If you reverse the two actions in kaTools.js function ondbleclick the action
is much more accurate.
From:
this.kaMap.zoomTo(p[0],p[1]);
this.kaMap.zoomIn();
To:
this.kaMap.zoomIn();
this.kaMap.zoomTo(p[0],p[1]);
Regards,
Ed
---
Ed Cooley
Strategy Systems, Inc.
http://www.strategysystems.com
479-271-7400 Fax: 479-271-7401
Photoblog - Personal Photos
More information about the ka-Map-users
mailing list