Merge pull request #462 from evolvedexperiment/elevation-profile-fixes

Fix for elevation profile labels
This commit is contained in:
Azgaar 2020-05-20 19:42:50 +03:00 committed by GitHub
commit 2ddb99af94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ function showElevationProfile(data, routeLen, isRiver) {
const chartHeight = 300; // height of our land/sea profile, excluding the biomes data below const chartHeight = 300; // height of our land/sea profile, excluding the biomes data below
const xOffset = 80; const xOffset = 80;
const yOffset = 20; // this is our drawing starting point from top-left (y = 0) of SVG const yOffset = 80; // this is our drawing starting point from top-left (y = 0) of SVG
const biomesHeight = 40; const biomesHeight = 40;