diff options
author | Struan Donald <struan@exo.org.uk> | 2019-11-28 12:48:27 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-06 14:41:05 +0000 |
commit | 7c55ac726b8e2b2f25af4c58d2f65420d3a177d1 (patch) | |
tree | b57972f8921f9c8bcfaf3092b18ba69d63344560 /web | |
parent | b94c565e111debbe933b4ab760b7fab5bcea1639 (diff) |
[Northamptonshire] remove snapping for Trees layer
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); } }); |