[Chameleon] ExtentHistory widget questions
Jennifer Shanks
jennifer at greeninfo.org
Tue Mar 7 14:32:55 EST 2006
Hello,
I've added the ExtentHistory widget to my navigation toolset and am
having trouble getting it to work. The image states are all working
properly. If I am at the initial map extent, the backward button is
disabled and if I use any of the navigation tools, the button is
enabled. However, if I click the backward button nothing
happens. Any idea of what I might be doing wrong? Is it because I'm
using JSAPI?
Also, I'm wondering how I can enable the backward button if the map
extent changes as the result of a zoom to query results.
Any suggestions?
Thanks for your help.
Regards,
Jennifer
Here is the widget code that I added to my navigation file.
<cwc2 type="ExtentHistory" direction="backward" toolset="Navigation"
styleresource="NavButtons" ImageTip="Go Back" image="icons/icon_zoomback.png">
<image state="normal"/>
<image state="hover"/>
<image state="selected"/>
<image state="disabled" image="icons/icon_zoomback_x.png"/>
</cwc2>
****************************
Jennifer Shanks
GreenInfo Network
116 New Montgomery, Suite 738
San Francisco, CA 94105
(415) 979-0343 x 306
(415) 979-0371 FAX
**GreenInfo has completely re-done our web site
Go to: www.greeninfo.org
More information about the Chameleon
mailing list