comparison client/src/store/bottlenecks.js @ 2435:3679d604645e

client: renamed store action There will be a second action to load bottlenecks with all properties like for the map. So I renamed the old action to loadBottleneckList. The new one will then be named loadBottlenecks... or loadBottlenecksFull or sth.
author Markus Kottlaender <markus@intevation.de>
date Fri, 01 Mar 2019 08:28:00 +0100
parents 242c170e00ce
children 64ff5984351e
comparison
equal deleted inserted replaced
2434:817b3d726b43 2435:3679d604645e
100 commit("setSurveys", []); 100 commit("setSurveys", []);
101 resolve(); 101 resolve();
102 } 102 }
103 }); 103 });
104 }, 104 },
105 loadBottlenecks({ commit }) { 105 loadBottlenecksList({ commit }) {
106 return new Promise((resolve, reject) => { 106 return new Promise((resolve, reject) => {
107 var bottleneckFeatureCollectionRequest = new WFS().writeGetFeature({ 107 var bottleneckFeatureCollectionRequest = new WFS().writeGetFeature({
108 srsName: "EPSG:4326", 108 srsName: "EPSG:4326",
109 featureNS: "gemma", 109 featureNS: "gemma",
110 featurePrefix: "gemma", 110 featurePrefix: "gemma",