[GIS] Replacing Esri branding with custom graphic in web app

arcgis-serverarcgis-web-appbuilder

Although there appears to be an easy way to remove the "Powered by ESRI" graphic in JSON I would like, rather than removing it, to substitute it with a custom PNG.

When I set "Logo": false, in "mapOptions" the Esri logo turns off but if I set the logo to an existing valid PNG, rather than displaying it, the custom graphic is somehow over-ridden and the "Powered by ESRI" graphic is displayed.

How do I replace the default with a custom graphic?

Default graphic:

enter image description here

Setting the logo to a valid PNG has no effect:

enter image description here

Setting the logo to false works!

enter image description here

Result:

enter image description here

Best Answer

The "logo" option is documented as being a Boolean value that defaults to true. So if you put false, it won't show it; if you enter any value (or leave it off so it defaults to true), it will show their logo. (This is because JavaScript interprets any non-null value as true.) So you're left with the option to set it to false, and float your own logo over the map.

Related Question