Skip to content

Commit

Permalink
fixed the debug mode being barely useable due to wrong formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Aug 7, 2024
1 parent ae5a689 commit c26549d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webclient/app/components/DetailsInteractiveMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ function initMap(containerId: string) {
const debugMarker = new Marker({ draggable: true }).setLngLat([coords.lon, coords.lat]).addTo(map);
debugMarker.on("dragend", () => {
console.log(`debug marker ${props.data.id}: ${debugMarker.getLngLat()}`);
navigator.clipboard.writeText(`${props.data.id}: ${debugMarker.getLngLat()}`);
console.log(`debug marker ${props.data.id}: ${JSON.stringify(debugMarker.getLngLat())}`);
navigator.clipboard.writeText(`${props.data.id}: ${JSON.stringify(debugMarker.getLngLat())}`);
});
}
Expand Down

0 comments on commit c26549d

Please sign in to comment.