Select to view content in your preferred language

Overview Map in SFV1.3

1497
11
08-04-2010 04:58 AM
MayJeff
Deactivated User
I am using overview sample in the code gallery: http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=15873
and able to put the oviewer map at lower right corner.  I would like to click to show the overview map then click again to minimize it but I can't get the function to work.  I used this also:
SiteContainer.getInstance().mapManager.ovCan.visible = true or false.

Please help.

Thank you.

May
Tags (2)
0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus
May,

  So based on your code you have the overviewmap called ovCan and it is a child of the mapmanager then?
0 Kudos
MayJeff
Deactivated User
You're right.  I created it on MapManger.mxml.  Now it shows a square box on lower right corner but I can't get it to show when user click it and then click again to hide the overview map.

public var ovCan:Canvas; is inside mx:script
then all the overview style, position, map services & etc is inside private function config ...

So is there posible to do it using SFV1.3? I would like to have the same way like new sameple website 2.0 (http://help.arcgis.com/en/webapps/flexviewer/live/index.html?config=config-edit.xml).

Please give me some ideas how to do so.  I really appreciated that.  Thank you.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
May,

   Can you attach your MapManager.mxml
0 Kudos
MayJeff
Deactivated User
Here is my file.  Please help me to take a look.  Thank you.

May
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
May,

   Here your updated MapManger.mxl and a new image that you need to paste in the src\com\esri\solutions\flexviewer\assets\images folder
0 Kudos
MayJeff
Deactivated User
Robert,
Thanks for sending the zip file but I got an error message to try to open it.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
May,

   This forum has an issue with zip files when using internet explorer try Fire Fox or Google Chrome
0 Kudos
MayJeff
Deactivated User
Thank you very much. It works!

May
0 Kudos
MayJeff
Deactivated User
How to show the overview map in full extent all the time and only change the extent box?  Just like overview map at this site: http://gis.calhouncounty.org/flexviewer2.0/index.html?config=config-calhoun-classic.xml

I try it manyways but it doesn't work. 

Thank you.
0 Kudos