Mercurial > gemma
view client/src/fairway/store.js @ 691:d643ff60f607
Client: improve style of waterway axis.
* Add label and circle style to waterway axis via WFS.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 20 Sep 2018 14:33:34 +0200 |
parents | 4450f2ab41e0 |
children | dedf252b3e01 |
line wrap: on
line source
// import { HTTP } from "../lib/http"; const sampleData = [ { x: 0, y: 1.0 }, { x: 10, y: 1.0 }, { x: 25, y: -2.0 }, { x: 50, y: -4.5 }, { x: 75, y: -4.0 }, { x: 100, y: -3.0 }, { x: 125, y: -4.0 }, { x: 150, y: -5.0 }, { x: 175, y: -4.0 }, { x: 200, y: -3.0 }, { x: 225, y: -3.5 }, { x: 250, y: -3.0 }, { x: 290, y: 1 }, { x: 300, y: 1 } ]; const FairwayProfile = { namespaced: true, state: { currentProfile: sampleData }, getters: { currentProfile: state => { return state.currentProfile; } }, mutations: {} }; export default FairwayProfile;