Skip to content

Commit

Permalink
chore: move logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Mar 28, 2023
1 parent 42fd231 commit bca0536
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/map/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ const gQuery = 'q';
const params = new URLSearchParams(document.location.search);

if (params.has(gPos)) {
console.log('pb: ' + params.get(gPos));

} else if (params.has(gQuery)) {
console.log('q: ' + params.get(gQuery));

} else {
console.log('?: ' + params);

}

console.log(params);

const map = L.map('map').setView([51.505, -0.09], 13);
let marker = L.marker([51.5, -0.09]).addTo(map);
marker.bindPopup('Position').openPopup();
Expand Down

0 comments on commit bca0536

Please sign in to comment.