Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config with changes for TerriaJS#5918 #557

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 35 additions & 36 deletions wwwroot/config.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
{
/* Names of init files (in wwwroot/init), without the .json extension, to load by default */
"initializationUrls": ["simple"],
"initializationUrls": [
"simple"
],
"parameters": {
"googleUrlShortenerKey": null,
"googleAnalyticsKey": null,
"googleAnalyticsOptions": null,

// Log ConsoleAnalytics events to console
// logToConsole: true,

/* Text that appears at the bottom of the map */
"disclaimer": {
"text": "Disclaimer: This map must not be used for navigation or precise spatial analysis",
"url": ""
},
/*
// Text that will be added to any pages printed from your site.
printDisclaimer:{
text:"Put your print disclaimer here.",
url: "#"
},
*/

// Pop-up disclaimer that will be shown at the start
// The text of the disclaimer is in lib/Views/GlobalDisclaimer.html
// globalDisclaimer: {
Expand All @@ -34,47 +26,46 @@
// //devHostRegex: "\\b(staging|preview|test|dev)\\.",
// enableOnLocalhost: true // If false, don't show this when running on localhost
// },

/*
developerAttribution: {
text: "Your organisation",
link: "http://www.example.com"
},*/
// This is used in various text messages. You should also set <title> in index.html
"appName": "Terria Map",

// See comments in lib/Views/global.scss for further information about customising colors, logos, fonts etc.
"brandBarElements": [
"",
"<a target=\"_blank\" href=\"https://terria.io\"><img src=\"images/terria_logo.png\" height=\"52\" title=\"Version: {{version}}\" /></a>",
""
],
"brandBar": {
"elements": [
"",
"<a target=\"_blank\" href=\"https://terria.io\"><img src=\"images/terria_logo.png\" height=\"52\" title=\"Version: {{version}}\" /></a>",
""
]
},
// Shown when things go wrong.
"supportEmail": "help@example.com",
// You probably shouldn't change this.
"proj4ServiceBaseUrl": "proj4def/",
// Or this
"feedbackUrl": "feedback",

// Default mobile viewer mode when loading the map for the first time on mobile platforms.
// Options are: "3DTerrain", "3DSmooth", "2D"
"mobileDefaultViewerMode": "2d",
//"mobileDefaultViewerMode": "2d",
// Enable experimental features, since its nice to have the bleeding edge.
// Disable it if things go wrong with the experimental features or your users aren't robust to features which might change or disapear completly.
"experimentalFeatures": true,
// To enable welcome message when map first loads
// "showWelcomeMessage": true,
// To override the welcome message video displayed on the welcome message
// By default, the Getting Started to Terria video is displayed
// "welcomeMessageVideo": {
// "videoTitle": "Getting started with the map",
// "videoUrl": "https://www.youtube-nocookie.com/embed/NTtSM70rIvI", // use an embedded video link
// "welcomeMessage": {
// // To enable welcome message when map first loads
// "show": true,
// // To override the welcome message video displayed on the welcome message
// // By default, the Getting Started to Terria video is displayed
// "video": {
// "title": "Getting started with the map",
// "url": "https://www.youtube-nocookie.com/embed/NTtSM70rIvI", // use an embedded video link
// "placeholderImage": "https://img.youtube.com/vi/NTtSM70rIvI/maxresdefault.jpg"
// }
// },

// True to display in-app guides.
// "showInAppGuides": false,

// see `languageOverrides.json` in languages/en
"languageConfiguration": {
"enabled": false,
Expand All @@ -85,7 +76,7 @@
},
"fallbackLanguage": "en"
},
"helpContent": [
"helpItems": [
{
"title": "translate#gettingstarted.title",
"itemName": "gettingstarted",
Expand Down Expand Up @@ -196,15 +187,19 @@
// "icon": "satellite"
// }
],
"helpContentTerms": [
"helpTerms": [
{
"term": "translate#helpContentTerm1.term",
"aliases": "translate#helpContentTerm1.aliases",
"aliases": [
"translate#helpContentTerm1.aliases"
],
"content": "translate#helpContentTerm1.content"
},
{
"term": "translate#helpContentTerm2.term",
"aliases": "translate#helpContentTerm2.aliases",
"aliases": [
"translate#helpContentTerm2.aliases"
],
"content": "translate#helpContentTerm1.content"
},
{
Expand All @@ -217,12 +212,16 @@
},
{
"term": "translate#helpContentTerm5.term",
"aliases": ["catalogue"],
"aliases": [
"catalogue"
],
"content": "translate#helpContentTerm5.content"
},
{
"term": "translate#helpContentTerm6.term",
"aliases": "translate#helpContentTerm6.aliases",
"aliases": [
"translate#helpContentTerm6.aliases"
],
"content": "translate#helpContentTerm6.content"
},
{
Expand Down Expand Up @@ -367,4 +366,4 @@
// }
// ]
}
}
}