We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 082810c + 74f8d8a commit 195abe6Copy full SHA for 195abe6
index.js
@@ -81,6 +81,13 @@ module.exports = terria
81
terria.raiseErrorToUser(e);
82
})
83
.finally(function () {
84
+ // Override the default document title with appName. Check first for default
85
+ // title, because user might have already customized the title in
86
+ // index.ejs
87
+ if (document.title === "Terria Map") {
88
+ document.title = terria.appName;
89
+ }
90
+
91
terria.loadInitSources().then((result) => result.raiseError(terria));
92
93
try {
0 commit comments