8000 More consistent geo maps configs by etpinard · Pull Request #4 · plotly/plotly.js · GitHub
[go: up one dir, main page]

Skip to content

More consistent geo maps configs #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Nov 16, 2015
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rm hard topojson assets:
- use sane-topojson to grab topojson deps
  • Loading branch information
etpinard committed Nov 15, 2015
commit 8b9a6091faa289f810b0416af2b03c2a45691277
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"node-sass": "^3.4.1",
"right-now": "^1.0.0",
"robust-orientation": "^1.1.3",
"sane-topojson": "^1.2.0",
"superscript-text": "^1.0.0",
"through2": "^2.0.0",
"tinycolor2": "1.1.2",
Expand Down
18 changes: 2 additions & 16 deletions src/assets/geo_assets.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
exports.topojsons = {};
var saneTopojson = require('sane-topojson');

exports.topojsons['world_110m'] = require('./topojson/world_110m.json');
exports.topojsons['africa_110m'] = require('./topojson/africa_110m.json');
exports.topojsons['asia_110m'] = require('./topojson/asia_110m.json');
exports.topojsons['europe_110m'] = require('./topojson/europe_110m.json');
exports.topojsons['north-america_110m'] = require('./topojson/north-america_110m.json');
exports.topojsons['south-america_110m'] = require('./topojson/south-america_110m.json');
exports.topojsons['usa_110m'] = require('./topojson/usa_110m');

exports.topojsons['world_50m'] = require('./topojson/world_50m.json');
exports.topojsons['africa_50m'] = require('./topojson/africa_50m.json');
exports.topojsons['asia_50m'] = require('./topojson/asia_50m.json');
exports.topojsons['europe_50m'] = require('./topojson/europe_50m.json');
exports.topojsons['north-america_50m'] = require('./topojson/north-america_50m.json');
exports.topojsons['south-america_50m'] = require('./topojson/south-america_50m.json');
exports.topojsons['usa_50m'] = require('./topojson/usa_50m.json');
exports.topojson = saneTopojson;
1 change: 0 additions & 1 deletion src/assets/topojson/africa_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/africa_50m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/asia_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/asia_50m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/europe_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/europe_50m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/north-america_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/north-america_50m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/south-america_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/south-america_50m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/usa_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/usa_50m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/world_110m.json

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/topojson/world_50m.json

This file was deleted.

0