Mercurial > gemma
comparison client/src/map/Maplayer.vue @ 832:d9da1ea14abf
client: fix profile request
* Correct date property name in profile request.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Fri, 28 Sep 2018 09:45:33 +0200 |
parents | 797063af6dc8 |
children | ee6f127f573c |
comparison
equal
deleted
inserted
replaced
831:fa417ff1f355 | 832:d9da1ea14abf |
---|---|
118 this.$store.commit("fairwayprofile/setEndPoint", end); | 118 this.$store.commit("fairwayprofile/setEndPoint", end); |
119 const profileLine = new LineString([start, end]); | 119 const profileLine = new LineString([start, end]); |
120 const feature = new Feature({ | 120 const feature = new Feature({ |
121 geometry: profileLine, | 121 geometry: profileLine, |
122 bottleneck: survey.bottleneck_id, | 122 bottleneck: survey.bottleneck_id, |
123 dat: survey.date_info | 123 date: survey.date_info |
124 }); | 124 }); |
125 const geoJSON = new GeoJSON({ geometryName: "geometry" }).writeFeature( | 125 const geoJSON = new GeoJSON({ geometryName: "geometry" }).writeFeature( |
126 feature | 126 feature |
127 ); | 127 ); |
128 this.$store | 128 this.$store |