Skip to content

Commit

Permalink
refactor: remove useless params
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin committed Jul 12, 2024
1 parent f9df614 commit 07458cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ParisMap {

#draw() {
this.#resize();
this.#drawParis({ arrondissements: this.#arrondissements, projection: this.#projection, g: this.#g, svg: this.#svg });
this.#drawParis();
}

#remove() {
Expand Down Expand Up @@ -81,7 +81,7 @@ class ParisMap {
#resize() {
const width = Number.parseInt(this.#svg.style('width'));
const height = width * 0.625;
this.#projection
this.#projection = this.#projection
.center(PARIS_COORDINATES)
.scale(this.#scale(height))
.translate([width / 2, height / 2]);
Expand Down

0 comments on commit 07458cd

Please sign in to comment.