Remove Copyright Text

3409
4
Jump to solution
12-10-2012 01:41 PM
ShaunWeston
Occasional Contributor
How do you remove the copyright text from appearing in the bottom right hand corner of Javascript API application. I've looked around a bit, but can't seem to figure out how. It is easy enough to remove the Esri logo, but the copyright test from map services, I can't see how to disable?
0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Frequent Contributor
Try adding showAttribution: false to the constructor parameters.
http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi/map.htm#MapConst

var map = new esri.Map('mapdiv', { showAttribution: false });

View solution in original post

0 Kudos
4 Replies
ReneRubalcava
Frequent Contributor
Try adding showAttribution: false to the constructor parameters.
http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi/map.htm#MapConst

var map = new esri.Map('mapdiv', { showAttribution: false });
0 Kudos
ShaunWeston
Occasional Contributor
Ah! sweet, too easy...thanks!
0 Kudos
sunithanaik
New Contributor
Thanks a lot for the answer, it works.
0 Kudos
JackFairfield
Occasional Contributor II

If you come across this post and are looking for an answer in Esri Javascript 4.0, try this:

view.ui.remove("attribution");

This will remove the widget from the ui of the view.  In 4.0, the attibution widget is added by default.

Alternatively, you can specify the widgets you want created automatically in the default UI object when defining your view

See DefaultUI | API Reference | ArcGIS API for JavaScript 4.0

Fore more details.

0 Kudos