Select to view content in your preferred language

Remove basemap service credit from Map layout

454
2
Jump to solution
09-11-2023 01:40 PM
HelenZhou
Occasional Contributor II

Hello,

I have created a map layout with Basemap.TopographicVector as the basemap. The credit of this basemap server covers quite some space on the lower right corner of the layout. I am wondering how to remove the credit? 

Thanks so much

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Wolf
by Esri Regular Contributor
Esri Regular Contributor

If you don't want the service layer credits to show up on your map you can place them anywhere on your layout as a text element.  You can do this via the ArcGIS Pro UI or programmatically:

String slcText = "<dyn type='layout' name='SLCs' property='serviceLayerCredits'/>";
GraphicElement slcTxtElm = ElementFactory.Instance.CreateTextGraphicElement(layout, TextType.RectangleParagraph, slcEnv, arial8reg, slcText);

View solution in original post

0 Kudos
2 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

If you don't want the service layer credits to show up on your map you can place them anywhere on your layout as a text element.  You can do this via the ArcGIS Pro UI or programmatically:

String slcText = "<dyn type='layout' name='SLCs' property='serviceLayerCredits'/>";
GraphicElement slcTxtElm = ElementFactory.Instance.CreateTextGraphicElement(layout, TextType.RectangleParagraph, slcEnv, arial8reg, slcText);
0 Kudos
HelenZhou
Occasional Contributor II

Thank you @Wolf - it works.

0 Kudos