Map navigation widget - home grown or resource (continued)...

572
4
08-03-2011 06:36 AM
RobertMueller
New Contributor
I was wondering if anyone has had luck in updating the navigation toolbar as discussed in (http://forums.esri.com/Thread.asp?c=158&f=2421&t=294409)  and found in the closed post (http://maps.auckland.govt.nz/AucklandRegionViewer/#). I am trying to update the code to Flex SDK 4.

I've been trying to modify the code provided by Scheitlin, however I am unsure how to modify the canvas structure. I'm pretty sure the difference is due to Halo vs Sparks components, although the canvas component is still a part of Flex 4.  Changes include the SiteContainer conversion to ViewerContainer, but it's starts getting confusing after that.

Could anyone provide additional insight please?
Bob
Tags (2)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Bob,

   Which version of the Flex Viewer are you using, or are you using a custom Flex API solution?
0 Kudos
RobertMueller
New Contributor
Robert-

I am using Julie Powell's template (http://baserver.esri.com/goelectric/index.html) which is a Sample Flex Viewer, however I am unsure exactly what version I am working with.

Bob
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Bob,

   Here is a real Flex Viewer Widget for 2.2 (the same version as the Go Electric app was built for).

Here is how to add it to the config.xml:

<!-- UI elements -->
    <widget left="10"  top="50"    config="widgets/NavMenu/NavMenuBar.xml" url="widgets/NavMenu/NavMenuBar.swf"/>
0 Kudos
RobertMueller
New Contributor
Thanks Robert -  The conversion was pretty impressive. I'm confident I wouldn't have been able to come up with that on my own!

Thank you immensely!

Bob
0 Kudos