Select to view content in your preferred language

Deactivate zoom button on zoom

3127
13
Jump to solution
02-27-2013 02:52 PM
RhettZufelt
MVP Notable Contributor
Currently in the navigation tool, If I select the zoom in or zoom out buttons, it will remain active until I click on the pan button again.

Is it possible to have the zoom in/out button deactivate itself after a zoom has been performed, or have it deactivated when another widget is opened?

investigating more, I see that most widgets seem to override it somehow, but, the Elevation profile widget does not.  Is a little confusing when you zoom into an area, grab the elevation profile tool and draw you profile line.  It ALSO zooms in to the extent of the box drawn when drawing the line (I.e. both tools are active and functioning at the same time).

anyway, any idea how to disable it either when the Elevation Profile widget is active OR, after perfoming a zoom operation?

R_
Tags (2)
0 Kudos
13 Replies
RhettZufelt
MVP Notable Contributor
Yep, that did it.  Just have to use the right ChartWindow.mxml for the respective server version.

R_
0 Kudos
RhettZufelt
MVP Notable Contributor
Andy,

Here you go.  Configured for 10.0x SOE server (which means it doesn't work with the SOE sever listed in the config file).

R_
0 Kudos
VinceGuillet
Occasional Contributor

Hi Rhett,

We are trying to find a flex widget for Elevation profiles configured to work with the 10.1 AGS Elevation Profile SOE.  I see where you have supplied a 10.0x version of the widget and where you were looking at the 10.1 SOE.  Did you ever produce a working widget with 10.1 (REST) and if so would you mind sharing?  Thanks.

0 Kudos
RhettZufelt
MVP Notable Contributor

Vince,

I no longer have access to that and no ability to develop/test at this time.

However, I believe the first ElevationProfile.zip file that Robert provided above will work with 10.1, and the chartwindow.xml provided later makes it work with 10.0.  So, give his first attachment a try.

R_

0 Kudos