Changeset 361 for binary-improvements
- Timestamp:
- Oct 2, 2020, 2:10:34 PM (4 years ago)
- Location:
- binary-improvements/webserver/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/webserver/js/inventory_dialog.js
r345 r361 3 3 var BAG_COLS = 9; 4 4 var BAG_ROWS = 5; 5 var BELT_COLS = 8;5 var BELT_COLS = 10; 6 6 var INV_ITEM_WIDTH = 58; 7 7 var INV_ITEM_HEIGHT = 40; -
binary-improvements/webserver/js/leaflet.control.coordinates.js
r244 r361 8 8 container = L.DomUtil.create('div', name + ' webmap-control'); 9 9 10 container.innerHTML = "Mouse pos: - N / - E<br/>Last click: - N / - E"10 container.innerHTML = "Mouse pos: -E / - N<br/>Last click: -E / - N" 11 11 L.DomEvent.on (container, 'mousemove', L.DomEvent.stopPropagation); 12 12 … … 46 46 _formatCoord: function(latlng) { 47 47 if (latlng == false) 48 return "- N / - E";48 return "-E / - N"; 49 49 else 50 50 return "" + 51 Math.abs(latlng.lng).toFixed(0) + (latlng.lng>=0 ? " N" : " S") + " / " +52 Math.abs(latlng.lat).toFixed(0) + (latlng.lat>=0 ? " E" : " W");51 Math.abs(latlng.lng).toFixed(0) + (latlng.lng>=0 ? " E" : " W") + " / " + 52 Math.abs(latlng.lat).toFixed(0) + (latlng.lat>=0 ? " N" : " S"); 53 53 }, 54 54
Note:
See TracChangeset
for help on using the changeset viewer.