Skip to content

Commit 8ba1116

Browse files
committed
convert map/styles/arcgis from json to js - fix esbuild
1 parent 81d103d commit 8ba1116

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/plots/map/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict';
22

33
var sortObjectKeys = require('../../lib/sort_object_keys');
4-
var arcgisSatHybrid = require('./styles/arcgis-sat-hybrid.json'); // https://raw.githubusercontent.com/go2garret/maps/v1.0.0/LICENSE
5-
var arcgisSat = require('./styles/arcgis-sat.json');
4+
var arcgisSatHybrid = require('./styles/arcgis-sat-hybrid'); // https://raw.githubusercontent.com/go2garret/maps/v1.0.0/LICENSE
5+
var arcgisSat = require('./styles/arcgis-sat');
66

77

88
var OSM = '© <a target="_blank" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors';

src/plots/map/styles/arcgis-sat-hybrid.json renamed to src/plots/map/styles/arcgis-sat-hybrid.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
module.exports = {
22
"version": 8,
33
"name": "orto",
44
"metadata": {"maputnik:renderer": "mlgljs"},
@@ -2013,4 +2013,4 @@
20132013
}
20142014
],
20152015
"id": "qebnlkra6"
2016-
}
2016+
};

src/plots/map/styles/arcgis-sat.json renamed to src/plots/map/styles/arcgis-sat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
module.exports = {
22
"version": 8,
33
"name": "orto",
44
"metadata": {},
@@ -90,4 +90,4 @@
9090
}
9191
}
9292
]
93-
}
93+
};

0 commit comments

Comments
 (0)