Skip to content

Commit

Permalink
fix(shared-link): typo in shared links
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Jul 29, 2024
1 parent 8b3c27a commit 06afe09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/my-account/my-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ ${landmark.properties.locationName}
Latitude : ${Math.round(landmark.geometry.coordinates[1] * 1e6) / 1e6}
Longitude : ${Math.round(landmark.geometry.coordinates[0] * 1e6) / 1e6}
${landmark.properties.description}
https://cartes-ign.ign.fr?lng=${landmark.geometry.coordinates[0]}&lng=${landmark.geometry.coordinates[1]}&z=15`,
https://cartes-ign.ign.fr?lng=${landmark.geometry.coordinates[0]}&lat=${landmark.geometry.coordinates[1]}&z=15`,
dialogTitle: "Partager mon point de repère",
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/js/position.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ Altitude : ${altitude} m`;
${this.name}
Latitude : ${latitude}
Longitude : ${longitude}${altitudeText}
https://cartes-ign.ign.fr?lng=${longitude}&lng=${latitude}&z=${zoom}`;
https://cartes-ign.ign.fr?lng=${longitude}&lat=${latitude}&z=${zoom}`;
}

/* Transforme le HTML du header de la position en texte pour le partage */
Expand Down

0 comments on commit 06afe09

Please sign in to comment.