Select to view content in your preferred language

Want to change default navigation from PAN to ZOOMIN

577
2
Jump to solution
06-06-2012 07:37 AM
BoCastillo
Deactivated User
I want to change the default navigation from PAN to ZOOMIN. If I remember correctly I had this working on my customized 1.3 SFV by adding the following line to the MapManager.mxml in the configLoadedHandler function.

changeNavigation("zoomin","Zoom In"); 


Any ideas?

Thanks,
Bo
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MehulChoksey
Esri Contributor
In Navigation.mxml, changing selectedIndex from 0 to 1 will do the trick.

<s:ButtonBar id="btnBar"
                     change="buttonbar1_changeHandler(event)"
                     requireSelection="true"
                    selectedIndex="1"
                     skinClass="widgets.Navigation.VerticalButtonBarSkin"
                     valueCommit="buttonbar1_valueCommitHandler(event)">

View solution in original post

0 Kudos
2 Replies
MehulChoksey
Esri Contributor
In Navigation.mxml, changing selectedIndex from 0 to 1 will do the trick.

<s:ButtonBar id="btnBar"
                     change="buttonbar1_changeHandler(event)"
                     requireSelection="true"
                    selectedIndex="1"
                     skinClass="widgets.Navigation.VerticalButtonBarSkin"
                     valueCommit="buttonbar1_valueCommitHandler(event)">
0 Kudos
BoCastillo
Deactivated User
Thanks! That did the trick.
0 Kudos