更新 'worldmap/worldmap.js'

master
zhongjin 8 months ago
parent 671adac890
commit b0e6d1d02a

@ -815,7 +815,7 @@ map.on('locationfound', onLocationFound);
map.on('locationerror', onLocationError);
// single right click to add a marker
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon/SIDC, layer, colour, heading)'/>";
var addmenu = "<b>添加标记</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon/SIDC, layer, colour, heading)'/>";
if (navigator.onLine) { addmenu += '<br/><a href="https://www.spatialillusions.com/unitgenerator-legacy/" target="_new">MilSymbol SIDC generator</a>'; }
var rightmenuMap = L.popup({keepInView:true, minWidth:260}).setContent(addmenu);

Loading…
Cancel
Save