From cbdd63a38ba45c6b64de5c8f11306a2e677ed519 Mon Sep 17 00:00:00 2001 From: wussup Date: Wed, 15 Jan 2020 10:29:14 +0100 Subject: [PATCH] Strings must have singlequotes Strings must have singlequotes --- src/ol/format/GeoJSON.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/format/GeoJSON.js b/src/ol/format/GeoJSON.js index a45907f95e..2e3f30dee2 100644 --- a/src/ol/format/GeoJSON.js +++ b/src/ol/format/GeoJSON.js @@ -163,7 +163,7 @@ class GeoJSON extends JSONFeature { if (crs['type'] == 'name') { projection = getProjection(crs['properties']['name']); } else if (crs['type'] === 'EPSG') { - projection = getProjection("EPSG:" + crs['properties']['code']); + projection = getProjection('EPSG:' + crs['properties']['code']); } else { assert(false, 36); // Unknown SRS type }