aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/config.js-example
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-05-11 12:11:40 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-05-11 16:20:25 +0100
commit0c7e11a18728eb5b6f4f0f07e82baf34a0f1d651 (patch)
treed91e9f1f53dd121c56ab9480cd65cd5e9fe1ad2f /www/js/config.js-example
parent4e9208b3bce2f9d3d74c31a3e569a5c56df0233f (diff)
Use OpenStreetMap tiles by default.198-nicer
Add a MAP_TYPE configuration option to choose what map tiles to use, defaulting to OpenStreetMap. This fixes the issue of people outside the UK getting a grey map.
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r--www/js/config.js-example4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
index 49c2003..c2d3f71 100644
--- a/www/js/config.js-example
+++ b/www/js/config.js-example
@@ -14,6 +14,10 @@ var CONFIG = {
// 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: 'fixmystreet',