diff options
author | Struan Donald <struan@exo.org.uk> | 2019-05-16 16:02:45 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-05-16 16:56:28 +0100 |
commit | 8990e6d5e5859094174ae290629f25a3fc0490d3 (patch) | |
tree | 567124f9b15884090a581ed43612205953c9b707 | |
parent | 12463c11862fcee3c905c8fef6043acc6afe093e (diff) |
[Buckinghamshire] fix zoom level issues
Allows assets to display when zoomed in.
Remove very zoomed out views as not useful.
-rw-r--r-- | web/cobrands/buckinghamshire/assets.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web/cobrands/buckinghamshire/assets.js b/web/cobrands/buckinghamshire/assets.js index 569806d3d..e3c660562 100644 --- a/web/cobrands/buckinghamshire/assets.js +++ b/web/cobrands/buckinghamshire/assets.js @@ -16,8 +16,11 @@ var defaults = { }, format_class: OpenLayers.Format.GML.v3.MultiCurveFix, asset_type: 'spot', - max_resolution: 4.777314267158508, - min_resolution: 0.5971642833948135, + max_resolution: { + 'buckinghamshire': 2.116670900008467, + 'fixmystreet': 4.777314267158508 + }, + min_resolution: 0.00001, asset_id_field: 'central_as', attributes: { central_asset_id: 'central_as', |