Select to view content in your preferred language

Replace ESRI Logo with companies own on Flex Map - not working!

845
3
05-18-2010 02:20 AM
grahamcooke
Regular Contributor
I have got the following code:

<esri:Map id="myMap" mapClick="onMapClick(event)" logoVisible="false">
 <esri:ArcGISDynamicMapServiceLayer url="MYURL"/>
</esri:Map> 

<mx:Image right="8" bottom="8" width="144" height="60" source="{'assets/images/MYLOGO.png'}"/>


I have resized the logo and ensured that the size of the Image box I created matches. However when I run my project the logo does not display. I just see an empty box with a little icon in the top left corner.

Currently my app does not literally nothing else apart from attempt to display this map service and a different logo at the bottom so there is no other code coming into play here.

Can anyone tell me what I am doing wrong please?
Tags (2)
0 Kudos
3 Replies
Drew
by
Frequent Contributor
Try embedding the image.
Maybe its not referenced correctly or not being passed to the bin folder.

Learn more on embedding here:
http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html

Drew
0 Kudos
JasonHancheruk
Emerging Contributor
If using the SFV, go to the forum below. It has an actionscript by Robert Scheitlin, on how to remove or change the Powered by ESRI logo.

http://forums.esri.com/thread.asp?t=287497&f=2421&c=158#893412


Jason
0 Kudos
BjornSvensson
Esri Regular Contributor
<ignore this>
0 Kudos