Skip to content

Commit

Permalink
Fix openstreetmap api request
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommimon committed Jul 18, 2022
1 parent e05ae36 commit 351cee4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geolocator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ var positions = [];

function geolocate() {
const data = {
addressdetails: 1,
city: document.getElementById("citta").value,
country: 'Italia',
state: document.getElementById("regione").value,
state: document.getElementById("regione").text,
street: document.getElementById("strada").value,
format: 'json',
};
Expand Down

0 comments on commit 351cee4

Please sign in to comment.