diff --git a/map/last/design.css b/map/last/design.css new file mode 100644 index 0000000..121fe05 --- /dev/null +++ b/map/last/design.css @@ -0,0 +1,5 @@ +seek { + width: 90vw; + height: 75vw; + margin: auto; +} \ No newline at end of file diff --git a/map/last/layton.js b/map/last/layton.js new file mode 100644 index 0000000..228a5a2 --- /dev/null +++ b/map/last/layton.js @@ -0,0 +1,23 @@ +document.addEventListener("DOMContentLoaded", () => { + var gsi = L.tileLayer('//cyberjapandata.gsi.go.jp/xyz/std/{z}/{x}/{y}.png', { + attribution: '© 国土地理院地図 contributors' + }); + var osm = L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { + attribution: '© OpenStreetMap contributors' + }); + + var gpsmap = L.map("seek", {zoomControl: false }); + gsi.addTo(gpsmap); + gpsmap.setView([38.8675, 139.8190], 12); + + var baseMaps = { + "地理院地図" : gsi, + "OpenStreetMap" : osm + }; + + L.control.layers(baseMaps).addTo(gpsmap); + L.control.zoom({ position: 'topleft' }).addTo(gpsmap); + L.control.scale({ position: 'bottomright' }).addTo(gpsmap); + + console.log('error'); +}, false); \ No newline at end of file diff --git a/map/last/who.html b/map/last/who.html new file mode 100644 index 0000000..1810ba3 --- /dev/null +++ b/map/last/who.html @@ -0,0 +1,17 @@ + + + +game map + + + + + + + + + +
+ + + \ No newline at end of file