We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a6371f commit 4b8b97eCopy full SHA for 4b8b97e
src/js/my-account/my-account.js
@@ -503,8 +503,13 @@ class MyAccount {
503
if (!imported.properties.icon) {
504
imported.properties.icon = "landmark-icon-saved";
505
}
506
+ const lon = imported.geometry.coordinates[0].toFixed(5);
507
+ const lat = imported.geometry.coordinates[1].toFixed(5);
508
if (!imported.properties.locationName) {
- imported.properties.locationName = "";
509
+ imported.properties.locationName = lon + ", " + lat;
510
+ }
511
+ if (!imported.properties.location) {
512
+ imported.properties.location = "[" + lon + "," + lat + "]";
513
514
imported.properties.visible = true;
515
imported.properties.radiusRatio = 0;
0 commit comments