diff options
author | Struan Donald <struan@exo.org.uk> | 2018-11-08 14:25:09 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2018-11-19 13:27:44 +0000 |
commit | c0c553a862dfb7de74c1e2dd9548bf1c0231c6f6 (patch) | |
tree | c3f10bcd14fa1eb18a8f9cadd7884a41c46f5af0 /web | |
parent | 92cc1d4c0f498ba0d36dce935a1c86d7cc96f2f1 (diff) |
[Bristol] include highways england data
This changes the projection from EPSG:3857, which is not included in the
bristol openlayers build, to the identical EPSG:900913 which is, so that
the conversion happens.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/bristol/base.scss | 6 | ||||
-rw-r--r-- | web/cobrands/highways/assets.js | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/web/cobrands/bristol/base.scss b/web/cobrands/bristol/base.scss index 96adf1001..e0dc1bdb5 100644 --- a/web/cobrands/bristol/base.scss +++ b/web/cobrands/bristol/base.scss @@ -126,3 +126,9 @@ label { #map #drag .square-map__tile { position: static; } + +// uses important because btn also uses it +#highways .segmented-control--radio input:checked + label.btn { + color: $g7 !important; + font-weight: bold !important; +} diff --git a/web/cobrands/highways/assets.js b/web/cobrands/highways/assets.js index f6bf3ad32..5f361e491 100644 --- a/web/cobrands/highways/assets.js +++ b/web/cobrands/highways/assets.js @@ -20,9 +20,7 @@ var defaults = { // the M6 max_resolution: 20, min_resolution: 0.5971642833948135, - asset_id_field: 'CENTRAL_AS', - geometryName: 'msGeometry', - srsName: "EPSG:3857", + srsName: "EPSG:900913", strategy_class: OpenLayers.Strategy.FixMyStreet }; |