aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-29 12:59:11 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-29 12:59:11 +0000
commitb0b39c7f020f9935ad1db9dfc49089e1164331b3 (patch)
treece08319a283f8409313d56c9dd75bdebf8bbd721 /web/js/map-OpenLayers.js
parent3ffef58745c4ce245953d32aeb618d9323fa6077 (diff)
parente771a1e5e04ae6f14928b1a328cca06c37f9af78 (diff)
Merge branch 'supercool' of ssh://github.com/mysociety/fixmystreet into supercool
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 0e45fac77..120bbf144 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -99,7 +99,7 @@ function fixmystreet_onload() {
styleMap: pin_layer_style_map
};
if (fixmystreet.page == 'around') {
- fixmystreet.bbox_strategy = new OpenLayers.Strategy.BBOX();
+ fixmystreet.bbox_strategy = new OpenLayers.Strategy.BBOX({ ratio: 1 });
pin_layer_options.strategies = [ fixmystreet.bbox_strategy ];
pin_layer_options.protocol = new OpenLayers.Protocol.HTTP({
url: '/ajax',