aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/config.js-example
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-12-01 15:05:34 +0000
committerDave Arter <davea@mysociety.org>2018-04-08 14:44:31 +0100
commit5d31be89ccabddb1dec66e505b91cc26a72ba2fb (patch)
treea7df5c4f9abca3a000b8d30cc48c542c50a3e337 /www/js/config.js-example
parent64cc9c6c2c1b5ada438fd6e874e812739c259b1a (diff)
Allow map buffer ratio to be customised.
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r--www/js/config.js-example6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
index 6260aef..a221cb0 100644
--- a/www/js/config.js-example
+++ b/www/js/config.js-example
@@ -52,7 +52,11 @@ var CONFIG = {
// If this is true then the user must login as the first step after
// installing the app, and before making any reports.
- LOGIN_REQUIRED: false
+ LOGIN_REQUIRED: false,
+
+ // The ratio of the data bounds to the viewport bounds (in each dimension).
+ // See http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Strategy/BBOX-js.html
+ MAP_LOADING_RATIO: 2
};