Strings must have singlequotes
Strings must have singlequotes
This commit is contained in:
1 parent
bc6f34d691
commit
cbdd63a38b
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user