Skip to content

Commit

Permalink
feat: reduce map size
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin committed Apr 26, 2024
1 parent 38de427 commit 7971247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ParisMap {

#resize() {
const width = Number.parseInt(this.#svg.style('width'));
const height = width * 0.725;
const height = width * 0.625;
this.#projection
.center(PARIS_COORDINATES)
.scale(this.#scale(height))
Expand Down

0 comments on commit 7971247

Please sign in to comment.