Skip to content

Commit

Permalink
Merge pull request osmlab#22 from fansanelli/typo
Browse files Browse the repository at this point in the history
lon is undefined
  • Loading branch information
fansanelli authored Apr 2, 2020
2 parents cfcb265 + 3db498d commit 9529ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ $("#collect-data-done").click(function() {
$.post('https://api.openstreetmap.org/api/0.6/notes.json', qwarg, function( data ) {
console.log( data );
var noteId=data['properties']['id'];
var link='https://www.openstreetmap.org/?note='+noteId+'#map=19/'+latlon.lat+'/'+latlon.lon+'&layers=N';
var link='https://www.openstreetmap.org/?note='+noteId+'#map=19/'+latlon.lat+'/'+latlon.lng+'&layers=N';
$("#linkcoords").append('<a href="'+link+'">'+link+'</a>');
});
});
Expand Down

0 comments on commit 9529ca3

Please sign in to comment.