1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
var CONFIG = {
// Language of templates to use ( should be name of directory under www/templates/ )
LANGUAGE: 'nb',
// Name of app to use in alert dialog titles amongst other things
APP_NAME: 'FiksGataMi',
// URL of the fixmystreet install to report to. See also config.xml-example
// Make sure it does *not* end with a slash.
FMS_URL: 'http://dev.fiksgatami.no',
// 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: null,
// 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: 'fiksgatami',
// 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: ''
};
|