diff options
author | Jonas Smedegaard <dr@jones.dk> | 2018-05-16 18:55:05 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2018-05-16 18:55:05 +0200 |
commit | a01b3c8c77f5174ec099600c63071e22c60572f3 (patch) | |
tree | 244bff0a87551c339357b9f9400cec01a2b96145 /src | |
parent | f28bd89951bf9fd67b6dc97889878592780b3b72 (diff) |
Fix use div map (not content). Tidy title of internal map page.
Diffstat (limited to 'src')
-rw-r--r-- | src/index.html | 4 | ||||
-rw-r--r-- | src/js/tours.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/index.html b/src/index.html index dec1be4..40b8222 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>Unfallanalyse</title> +<title>København</title> <meta name="viewport" content="width=device-width" /> <link href="favicon.ico" rel="icon" type="image/x-icon" /> <link href="css/leaflet/leaflet.css" rel="stylesheet" type="text/css" /> @@ -13,7 +13,7 @@ <link href="css/map.css" rel="stylesheet" type="text/css" /> </head> <body> -<div id="content"></div> +<div id="map"></div> <script src="js/lib/require.js" data-main="js/tours" type="text/javascript"></script> </body> </html> diff --git a/src/js/tours.js b/src/js/tours.js index 809013a..d6b5d99 100644 --- a/src/js/tours.js +++ b/src/js/tours.js @@ -6,7 +6,7 @@ requirejs(['./slippymap'], function(_foo) { }); requirejs(['app/mapfactory'], function(mkmap) { L.Icon.Default.imagePath = depth + 'img/leaflet/'; - var map = mkmap('content', [ + var map = mkmap('map', [ [55.76846, 12.45369], [55.54883, 12.67891] ]); |