Select to view content in your preferred language

Remove Powered by ESRI in FlexViewer 2.1

4039
23
10-19-2010 05:30 AM
EricVenden
Frequent Contributor
I am pretty new to the Flex Viewer arena.  I am trying to find where the reference to the "Powered by ESRI" logo (lower right corner of the map window) is located.  I have found references in other older threads to the MapManager.mxml, but I cannot find this on the server (wondering if this is a version difference???)

Any help would be appreciated
Thanks
Eric Venden
Gurnee, IL
Tags (2)
0 Kudos
23 Replies
GeorgiannaStrode
Deactivated User
The logo comes from the ArcGIS API for Flex. You can hide it by setting adding this to the MapManager's partAdded() function:

map.logoVisible = false;



Hi,

Where can I find MapManager.mxml?  I have only 'assets' and 'widgets' folders and these contain swf, xml, swz, html, js, and txt.  There are no .mxml files anywhere in my directory structure. Did I need to do something different to get these files?

Thanks
0 Kudos
CynthiaMatney
Emerging Contributor
Thanks - that is actually what I had tried (numerous times) without success.  I could get it to go to the right of the page or the left of the page; however, it WOULD NOT go to the bottom of the page!  In the end it only worked by me telling it to go from the top"840" - which was a bit ridiculous - but at least it FINALLY put it at the bottom right hand corner of my map where I wished it to go.
0 Kudos
philippschnetzer
Frequent Contributor
FREAC - you are using the compiled version of the flexviewer...this version does not contain mxml.  To get at the source code for these widgets you need to load the source files for the flex viewer...go here:  http://www.arcgis.com/home/item.html?id=3f6a0bfee48949a88df50bf7686ec72a

CKTIA07 - be aware that when your map is viewed on a different sized screen it will still place that image 840 pixels from the top...so if you have a huge screen it might place it nearer the middle of the screen rather than on the bottom.
0 Kudos
CynthiaMatney
Emerging Contributor
Any clue why when I tell it (static image widget) to go to the bottom and far right of my page it shows up in the middle on the far right side - no matter what number I put in (ie: bottom "0" or bottom "20") in the config.xml?
Thanks!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Cynthia,

   You are putting it under the :
<!-- UI elements -->
line right, and not in the widgetcontainer correct?
0 Kudos
CynthiaMatney
Emerging Contributor
You are correct I have it with the UI Elements.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Cynthia,

   Have you tried a different image, because I can not reproduce this on my end?
0 Kudos
CynthiaMatney
Emerging Contributor
I had tried a couple different city logos to no avail; however, I just tried another 'smaller' image and it worked.  So I created a smaller city logo and that seemed to work as well!

Thanks!
0 Kudos
GabiVoicu
Deactivated User
...is there a way for a non- flex developer to remove the logo? Really we do not have the flex builder to be able to compile the sorce code if we make any changes ...
0 Kudos
CynthiaMatney
Emerging Contributor
In the new Flex Viewer 2.2 - you can remove the ESRI Logo in the config.xml
<esrilogovisible>
0 Kudos