From 4bd44354d47c4b24a8436ee4bbf3c5fb8fe27285 Mon Sep 17 00:00:00 2001 From: Eskild Skov Pedersen Date: Sat, 17 Oct 2020 18:27:58 +0200 Subject: [PATCH] Fix build error on geotiff https://github.com/geotiffjs/geotiff.js/issues/98 --- src/elevation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elevation.js b/src/elevation.js index 98f2f59..8ca794a 100644 --- a/src/elevation.js +++ b/src/elevation.js @@ -1,6 +1,6 @@ import * as turf from '@turf/turf' import fetch from 'node-fetch' -import * as GeoTIFF from 'geotiff' +import * as GeoTIFF from 'geotiff/dist-browser/geotiff' // FIX https://github.com/geotiffjs/geotiff.js/issues/98 export default class Elevation { constructor (geojson) {