Remove the footer on the Map displayed

2960
5
Jump to solution
01-06-2014 06:39 PM
sunithanaik
New Contributor
Hi,

We are dynamically creating map by passing the lat and long parameter using the javascript api for ARCgis. However the default footer is displayed on map has to be removed. Can you please let me know how to remove the footer.

attached is the picture for the same
0 Kudos
1 Solution

Accepted Solutions
JeffPace
MVP Alum
instead of destroying or hiding it, why not just turn it off?

map = new Map("map", { showAttribution: false });

View solution in original post

0 Kudos
5 Replies
AndyBurns
Occasional Contributor
Depending on skill level you can code it out

https://developers.arcgis.com/en/javascript/jsapi/attribution-amd.html#destroy

or easy option

.esriAttribution {
display: none;
}


in the css or create custom css page and add
0 Kudos
JeffPace
MVP Alum
instead of destroying or hiding it, why not just turn it off?

map = new Map("map", { showAttribution: false });
0 Kudos
AndyBurns
Occasional Contributor
Jeff's option is the best, go for that one!

Cheers Jeff, did not realize you could just turn it off like i use with the logo normally so thats changed some code for me!
0 Kudos
sunithanaik
New Contributor
Thanks Jeff! 
I did what you suggested and it solved the problem
0 Kudos
JonathanUihlein
Esri Regular Contributor
Sunitha, make sure you mark the thread as 'answered' (via the appropriate post) so that in the future, other people with a similar question can find the answer.
0 Kudos