Skip to content

Commit

Permalink
Update Positions (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaoster authored Dec 10, 2020
1 parent bc1a19d commit cf39639
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified img/counties.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/nation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/towns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/villages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/mercatorTw.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ const geoCoordinates = {
width: 360, height: 600, offsetX: 0, offsetY: 0,
},
penghu: {
width: 90, height: 110, offsetX: -210, offsetY: 180,
width: 90, height: 130, offsetX: -210, offsetY: 200,
},
kinmen: {
width: 120, height: 60, offsetX: -195, offsetY: -110,
},
lienchiang: {
width: 120, height: 120, offsetX: -195, offsetY: -200,
width: 120, height: 120, offsetX: -195, offsetY: -220,
},
wuqiu: {
width: 30, height: 30, offsetX: -150, offsetY: -125,
width: 20, height: 20, offsetX: -145, offsetY: -130,
},
};

Expand All @@ -48,7 +48,7 @@ export default () => {
// Longitude and latitude coordinates of their centers
const mainland = geoMercator().rotate([-120.97, -23.60]); let mainlandPoint;
const penghu = geoMercator().rotate([-119.54, -23.45]); let penghuPoint;
const kinmen = geoMercator().rotate([-118.33, -24.44]); let kinmenPoint;
const kinmen = geoMercator().rotate([-118.40, -24.44]); let kinmenPoint;
const lienchiang = geoMercator().rotate([-120.22, -26.16]); let lienchiangPoint;
const wuqiu = geoMercator().rotate([-119.45, -24.98]); let wuqiuPoint;

Expand Down

0 comments on commit cf39639

Please sign in to comment.