Mercurial > gemma
comparison client/src/store/fairway.js @ 2125:ea5a0e771b71
Distinct fairway layers per LOS
There are now distinct layers for LOS1-3, which can be enabled/disabled in the legend.
LOS2 has no data yet but works.
Cross profiles show only LOS3 still.
issue 261
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 06 Feb 2019 11:47:02 +0100 |
parents | b3920ac3b2fd |
children | 627bfcbbf631 |
comparison
equal
deleted
inserted
replaced
2124:af136b1a854e | 2125:ea5a0e771b71 |
---|---|
199 commit("profileLoading", true); | 199 commit("profileLoading", true); |
200 Promise.all(profileLoaders) | 200 Promise.all(profileLoaders) |
201 .then(() => { | 201 .then(() => { |
202 rootState.map.cutTool.setActive(false); | 202 rootState.map.cutTool.setActive(false); |
203 rootGetters["map/getVSourceByName"]( | 203 rootGetters["map/getVSourceByName"]( |
204 "Fairway Dimensions" | 204 "Fairway Dimensions LOS 3" |
205 ).forEachFeatureIntersectingExtent( | 205 ).forEachFeatureIntersectingExtent( |
206 // need to use EPSG:3857 which is the proj of vectorSource | 206 // need to use EPSG:3857 which is the proj of vectorSource |
207 profileLine | 207 profileLine |
208 .clone() | 208 .clone() |
209 .transform("EPSG:4326", "EPSG:3857") | 209 .transform("EPSG:4326", "EPSG:3857") |