Good morning everybody,
I am trying to add some text to the ESRI attribution in the bottom right (see attachment).
How would I access this element? When I inspect it, it doesn't have an id, it only has a class.
Thanks!
Tim
Solved! Go to Solution.
Kieren,
I tested this before posting so I know it works. If your map has stoped working then you have introduced a syntax error.
Hmmm,
It is entirely possible, I will test again – thank you very much for answering the question and taking the time on this.
I added the
'dojo/dom-construct',
With the comma at the top (and middle), etc. I’ll keep working on this and let you know.
Kieren
Kieren Tinning
TerraFlow Geomatics
Mobile (416) 689-8197
Linkedin profile https://www.linkedin.com/in/kierentinning/
The greatest compliment you can give us is a referral. Please feel free to give my name to a friend or business acquaintance.
P Please consider the environment before printing
Robert,
Thank you very much for the comments, I never did get the Dojo and DOM insert to work, however I did end up changing the Index.html page adding
.map .esriMapContainer .esriMapLayers:before {
background-image: url(images/XYZLogo.png);
background-size: cover;
background-repeat: no-repeat;
position: absolute;
bottom: 5px;
left: 5px;
z-index: 1000;
height: 30px;
width: 120px;
content: ' ';
}
To the bottom of the CSS section, just ahead of the closing </style> tag. It places the image in the lower left side of the map page.