File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
overrides/assets/javascripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,19 +81,19 @@ function getCountryFlag(country) {
8181function createJOSMUrl ( lat , lon ) {
8282 // Use a small buffer around the point for zoom
8383 const buffer = 0.001 ;
84- const josmUrl = `http://localhost:8111/zoom?left=${ lon - buffer } &right=${ lon + buffer } &top=${ lat + buffer } &bottom=${ lat - buffer } ` ;
84+ const josmUrl = `http://localhost:8111/zoom?left=${ lon - buffer } &right=${ lon + buffer } &top=${ lat + buffer } &bottom=${ lat - buffer } &changeset_tags=hashtags=mapyourgrid ` ;
8585
8686 const iframe = document . createElement ( 'iframe' ) ;
8787 iframe . style . display = 'none' ;
8888 iframe . src = josmUrl ;
8989 document . body . appendChild ( iframe ) ;
9090 setTimeout ( ( ) => document . body . removeChild ( iframe ) , 1000 ) ;
9191
92- alert ( '✓ Great! Now go to JOSM' ) ;
92+ alert ( '✓ Great! Now go to JOSM. ' ) ;
9393}
9494
9595function createiDUrl ( lat , lon ) {
96- return `https://www.openstreetmap.org/edit#map=18/${ lat } /${ lon } ` ;
96+ return `https://www.openstreetmap.org/edit#map=18/${ lat } /${ lon } &hashtags=mapyourgrid ` ;
9797}
9898
9999async function loadLines ( ) {
You can’t perform that action at this time.
0 commit comments