Compare commits

...

3 Commits

Author SHA1 Message Date
1292c1a573 Change title and footer 2020-04-25 18:19:39 +02:00
f7000d1c5c Correct instructions 2020-04-25 18:16:16 +02:00
4aa26434f8 Fix restart through clearing the coordinate list 2020-04-25 18:14:28 +02:00
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>LinuxWorks Minetest Map (unofficial)</title> <title>LinuxWorks Minetest Map</title>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="fa/css/all.css"> <link rel="stylesheet" href="fa/css/all.css">

View File

@ -141,7 +141,7 @@ function load_tiles(name, id) {
minNativeZoom: 0, minNativeZoom: 0,
minZoom: 0, minZoom: 0,
noWrap: true, noWrap: true,
attribution: 'Map data &copy; <a href="https://wiki.linux-forks.de/mediawiki/index.php/Maps">Linux-Forks</a>, ' + 'All rights reserved, ', attribution: 'Map data &copy; <a href="https://wiki.linux-forks.de/mediawiki/index.php/Maps">Linux-Forks</a>',
id: id, id: id,
tileSize: 256, tileSize: 256,
zoomOffset: 0, zoomOffset: 0,

View File

@ -60,11 +60,11 @@ if (editor_mode) {
if (interactive) { if (interactive) {
str = prompt("Instructions: \n" + str = prompt("Instructions: \n" +
"* Click the scribble-icon in the top left to start or continue drawing.\n" + "* Click the scribble-icon in the top left to start or continue drawing.\n" +
"* Double click last waypoint to stop.\n" + "* Click last waypoint to stop drawing.\n" +
"* Double click a waypoint to delete it.\n" + "* Click a waypoint to delete it.\n" +
"* Click save in the top right to get the new string.\n\n" + "* Click save in the top right to get the new string.\n\n" +
"Enter existing waypoints in the following format: [x,y],[x,y]:", window.location.hash.slice(1)); "Enter existing waypoints in the following format: [x,y],[x,y]:", window.location.hash.slice(1));
if (!str) if (str == undefined)
return; return;
} else { } else {
str = window.location.hash.slice(1); str = window.location.hash.slice(1);