view 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
line wrap: on
line source

#Name of the application, e.g. displayed at login time
VUE_APP_TITLE=Waterway Monitoring system

#Backend URL
VUE_APP_API_URL=/api/
VUE_BACKEND_API_URL=http://gemma_backend:8000

#URL of secondary logo
VUE_APP_SECONDARY_LOGO_URL=

#Path of vendored images is copied during a webpack build
VUE_APP_VENDOR_IMG_PATH=