Is there anyway to turn off service layer credits (set showAttribution: False)

3377
4
Jump to solution
03-09-2016 10:06 PM
PiyaSansee
New Contributor II

Is there anyway to turn off service layer credits (set showAttribution: False)

1 Solution

Accepted Solutions
PiyaSansee
New Contributor II

Hi Jayanta,

Thanks that is exactly what I am looking for.

Piya.

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Piya,

  Sure in the main config.json file of your app just add showAttribution false to the mapOptions (line 11):

"mapOptions": {

      "extent": {

        "xmin": -9588945.63048467,

        "ymin": 3961163.9078186783,

        "xmax": -9521681.045593806,

        "ymax": 4027893.4335115473,

        "spatialReference": {

          "wkid": 102100

        }

      },

      "showAttribution": false,

      "logo": false,

PiyaSansee
New Contributor II

Hi Jayanta,

Thanks that is exactly what I am looking for.

Piya.

View solution in original post

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Piya,

  Please click the "Mark Correct" on the reply that answer your question so that other can easily find the answer.

0 Kudos
AbhishekRathi1
Occasional Contributor

Dear Priya

Kindly go through below mentioned steps+

  1. In layout window, go to Insert > Dynamic Text > Service Layer Credits.
  2. Then you will be able to move the credit anywhere. You can delete the text or move it outside of the layout window. When you delete the credit text and add data again or do anything with the map, the credit text will reappear. So the best option is to move the text outside of the window. Next option is to change the text color to no color, then you do not have to move the text.
  3. Watch the video Tutorial to remove the ESRI base map credit.
  4. Next option is to draw the box on the top of the credit text for the map title.