From d7ef9c25d07c133f8a361acc7d4e8a169a0ff39f Mon Sep 17 00:00:00 2001 From: HF Date: Thu, 2 Jan 2020 19:07:00 +0100 Subject: [PATCH] update country location script --- utils/country-locations/convert.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/country-locations/convert.js b/utils/country-locations/convert.js index b001f7ef..f37764eb 100644 --- a/utils/country-locations/convert.js +++ b/utils/country-locations/convert.js @@ -5,7 +5,9 @@ import fs from 'fs'; import countryCodeLatLong from './countrycode-latlong-array.json'; -import { CANVAS_SIZE, CANVAS_MIN_XY } from '../../src/core/constants'; + +const CANVAS_SIZE = 256 * 256; +const CANVAS_MIN_XY = -(CANVAS_SIZE / 2); /*