Select to view content in your preferred language

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

7945
7
Jump to solution
03-09-2016 10:06 PM
PiyaSansee
Emerging Contributor

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

1 Solution

Accepted Solutions
PiyaSansee
Emerging Contributor

Hi Jayanta,

Thanks that is exactly what I am looking for.

Piya.

View solution in original post

0 Kudos
7 Replies
RobertScheitlin__GISP
MVP Emeritus

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
Emerging Contributor

Hi Jayanta,

Thanks that is exactly what I am looking for.

Piya.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Piya,

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

0 Kudos
xingchenc
Frequent Contributor

Hi Robert,

I am using the Experience Builder, do you know how to achieve the same goal in Experience Builder?

@RobertScheitlin__GISP 

0 Kudos
AbhishekRathi1
Deactivated User

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.
xingchenc
Frequent Contributor

Sadly this workaround is not working for Experience Builder.

Anyone know how to do this in Experience Builder?

0 Kudos
NAOMIPAUL
Regular Contributor

You can use Abhishek solution in Pro with a custom print layout template, and use a custom published print service. We turned the font color to clear, and it worked.

0 Kudos