diff options
author | Dave Arter <davea@mysociety.org> | 2018-04-08 14:49:20 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-08 14:49:20 +0100 |
commit | 20b0895690f72591d148ea67ddf6ec29973cdd7c (patch) | |
tree | a7df5c4f9abca3a000b8d30cc48c542c50a3e337 /www/js/config.js-example | |
parent | 063d772657a98c96b79000199701eb8dd8cd8c07 (diff) | |
parent | 5d31be89ccabddb1dec66e505b91cc26a72ba2fb (diff) |
Merge branch 'groundcontrol-a'
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r-- | www/js/config.js-example | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example index 2fceda7..a221cb0 100644 --- a/www/js/config.js-example +++ b/www/js/config.js-example @@ -43,7 +43,20 @@ var CONFIG = { image_svg: 'images/pin.svg', background_svg: 'images/pin_shadow.svg' } - } + }, + + // Set this to true if you want to disable the help button on the right hand + // side of the screen. NB you'll also need to hide #display-help and #help + // elements in your CSS. + HELP_DISABLED: false, + + // 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, + + // 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 }; |