Hi
We have an app created from a map which has multiple services in it. All services will have the Ordnance Survey referenced in the credits as it is derived from their data, or will have open data copyright statements in. This means in maps with multiple services, there will be duplication of copyright on the map and app.
Is there a way in WAB to hardcode the copyright data and not have it pick up from the service?
Thanks
Solved! Go to Solution.
Mark,
You should avoid this... But here is how.
In the MapManager.js _checkAppState function add lines 2 and 3.
What I am doing here is changing the text in the first attribution element to 'blah blah'
_checkAppState: function() {
var spanList = query('.esriAttributionList');
spanList[0].children[0].innerHTML = 'blah blah' + '<span class="esriAttributionDelim"> | </span>;';
...
Mark,
You should avoid this... But here is how.
In the MapManager.js _checkAppState function add lines 2 and 3.
What I am doing here is changing the text in the first attribution element to 'blah blah'
_checkAppState: function() {
var spanList = query('.esriAttributionList');
spanList[0].children[0].innerHTML = 'blah blah' + '<span class="esriAttributionDelim"> | </span>;';
...
Thanks - I will give it a go.
I agree, I don't really want to do it this way, but from a customer point of view, they don't want to see the same copyright statement duplicated lots of times, as it looks very unprofessional.
The only other way I can see would be to publish the most of the services without the information, which runs the risk of those services getting used elsewhere without the copyright on at all.
What it really needs is some way of only showing unique information, so if the copyright is duplicated in multiple services, it will only display it once, but I doubt that is even possible!!
Mark,
Did this work for you?