diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/northamptonshire/assets.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/cobrands/northamptonshire/assets.js b/web/cobrands/northamptonshire/assets.js index 5549da41e..67d75fb97 100644 --- a/web/cobrands/northamptonshire/assets.js +++ b/web/cobrands/northamptonshire/assets.js @@ -339,7 +339,8 @@ var layers = [ ], "layer_name": "Tree", "layer": 307, - "version": "307.7-" + "version": "307.7-", + "snap_threshold": 0, }, { "categories": [ "Safety Bollard - Damaged/Missing" ], @@ -432,6 +433,9 @@ $.each(layers, function(index, layer) { if (layer.max_resolution) { options.max_resolution = layer.max_resolution; } + if (layer.snap_threshold || layer.snap_threshold === 0) { + options.snap_threshold = layer.snap_threshold; + } fixmystreet.assets.add(northants_defaults, options); } }); |