aboutsummaryrefslogtreecommitdiffstats
path: root/cobrands/fixamingata/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'cobrands/fixamingata/config.js')
-rw-r--r--cobrands/fixamingata/config.js51
1 files changed, 51 insertions, 0 deletions
diff --git a/cobrands/fixamingata/config.js b/cobrands/fixamingata/config.js
new file mode 100644
index 0000000..e9d5599
--- /dev/null
+++ b/cobrands/fixamingata/config.js
@@ -0,0 +1,51 @@
+var CONFIG = {
+ // Language of templates to use ( should be name of directory under www/templates/ )
+ LANGUAGE: 'sv',
+
+ // Name of app to use in alert dialog titles amongst other things
+ APP_NAME: 'FixaMinGata',
+
+ // URL of the fixmystreet install to report to. See also config.xml-example
+ // Make sure it does *not* end with a slash.
+ FMS_URL: 'https://fixamingata.se',
+
+ // Name of the cobrand to use for templates, stylesheets etc.
+ // Cobrand files should be placed in a new directory within www/cobrands/
+ // Leave as null to use the default templates.
+ COBRAND: 'fixamingata',
+
+ // Type of map to use; possible options currently are 'OSM', 'Bing' or
+ // 'FMS' (UK only). The default is OSM.
+ MAP_TYPE: 'OSM',
+
+ // namespace for storing drafts etc in. Should not need to change
+ NAMESPACE: 'fixmystreet',
+
+ // directory to store draft photos in. Should not need to change
+ FILES_DIR: 'photos',
+
+ // accuracy in meters required before geolocation is successful
+ ACCURACY: 100,
+
+ // how long, in milliseconds, before photo uploads timeout. Defaults to 120000 ( 2 minutes )
+ UPLOAD_TIMEOUT: 120000,
+
+ // Set to 1 to log debug messages to the console
+ DEBUG: 0,
+
+ // Bing Maps API key if needed
+ BING_MAPS_API_KEY: '',
+
+ PINS: {
+ location: {
+ image: 'images/pin@x2.png',
+ background: 'images/pin_shadow@x2.png',
+ image_svg: 'images/pin.svg',
+ background_svg: 'images/pin_shadow.svg'
+ }
+ }
+};
+
+// This bit is so this can be imported as a nodejs module for hook processing
+var module = module || {};
+module.exports = CONFIG;