Select to view content in your preferred language

Reg : hide Base Map Source Credits

1316
3
Jump to solution
01-25-2014 06:32 AM
VikramS
Frequent Contributor
Hello all,

Is it possible to hide base map source credits ? Any sample ?
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Honored Contributor
Vikram,

Add the showAttribution attribute to your map class, eg:

map = new Map("map", {
        fitExtent: true,
        showAttribution: false,
        zoom: 10,
        center: [-78.89433, 35.996321]
    });

See the API reference here:

https://developers.arcgis.com/javascript/jsapi/map-amd.html#showattribution

Regards

Anthony

View solution in original post

3 Replies
AnthonyGiles
Honored Contributor
Vikram,

Add the showAttribution attribute to your map class, eg:

map = new Map("map", {
        fitExtent: true,
        showAttribution: false,
        zoom: 10,
        center: [-78.89433, 35.996321]
    });

See the API reference here:

https://developers.arcgis.com/javascript/jsapi/map-amd.html#showattribution

Regards

Anthony
VikramS
Frequent Contributor
Thank you . It worked 🙂
0 Kudos
DaniellePapineau
Emerging Contributor
I need to remove the credits from the base maps too.  But I'm only working in Desktop (ArcView 10.2.2) and not creating a web map.  Do I go about this the same way??  If so, can someone dumb it down for me?  I'm not familiar with web mapping and all that goes along with it.

Thanks!
Danielle
0 Kudos