annotate client/.env @ 1063:7ec2133c6404

client: add area measurement. simpify code * Add a third draw mode which can only be activated when no morphology is selected and we are already in LineString mode. It adds an area calculation. Because the Polygon drawMode ends on a double click, there needs to be an extra callback for this to run identify so that the area calculation is shown all times. * Add Bernhard as author to some files and also simplify copyright note. * Remove DRAWMODES in the code to simplify as this is just one indirection used once in stores/application.js. * Use mapState instead mapGetters to get the drawMode at all places to save some code lines.
author Bernhard Reiter <bernhard@intevation.de>
date Thu, 25 Oct 2018 23:16:53 +0200
parents 5b7a4327f6c0
children 4235fa8f59d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
1 #Name of the application, e.g. displayed at login time
7
e4bc7e0465b3 .env.sample edited
Thomas Junk <thomas.junk@intevation.de>
parents: 6
diff changeset
2 VUE_APP_TITLE=Waterway Monitoring system
23
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
3
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
4 #Backend URL
9
ee6d3836014e current version of login
Thomas Junk <thomas.junk@intevation.de>
parents: 7
diff changeset
5 VUE_APP_API_URL=/api/
499
5b7a4327f6c0 Recommend using .env.local instead of copying .env.sample
Tom Gottfried <tom@intevation.de>
parents: 353
diff changeset
6 VUE_BACKEND_API_URL=http://gemma_backend:8000
23
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
7
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
8 #URL of secondary logo
9
ee6d3836014e current version of login
Thomas Junk <thomas.junk@intevation.de>
parents: 7
diff changeset
9 VUE_APP_SECONDARY_LOGO_URL=
23
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
10
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
11 #Path of vendored images is copied during a webpack build
c1ef0be0ae3d Improve build chain
Thomas Junk <thomas.junk@intevation.de>
parents: 13
diff changeset
12 VUE_APP_VENDOR_IMG_PATH=