diff --git a/README.md b/README.md index 2e1f735..5d14028 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ * [oshi](../../pages/dom/dom.html) * [(^-^)](../../pages/kuji/kuji.html) * [saigo](../../pages/saigo/saigo.html) -* [domon](../../pages/map/src/domon/domon.html) \ No newline at end of file +* [domon](../../pages/map/domon/domon.html) \ No newline at end of file diff --git a/map/domon/domon.html b/map/domon/domon.html new file mode 100644 index 0000000..d289f39 --- /dev/null +++ b/map/domon/domon.html @@ -0,0 +1,21 @@ + + + + マップ: My First Map! + + + + + + + +

My First Map!

+
+ + + + \ No newline at end of file diff --git a/map/domon/domon.js b/map/domon/domon.js new file mode 100644 index 0000000..0b40843 --- /dev/null +++ b/map/domon/domon.js @@ -0,0 +1,7 @@ +/* domon.js - 北緯38.891度, 東経139.824度, ズームレベル16 で地図表示 */ + +var mymap = L.map("mymap").setView([38.891, 139.824], 16); +L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { + attribution: + '© OpenStreetMap contributors' +}).addTo(mymap); \ No newline at end of file diff --git a/map/src/domon/domon.html b/map/src/domon/domon.html deleted file mode 100644 index d289f39..0000000 --- a/map/src/domon/domon.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - マップ: My First Map! - - - - - - - -

My First Map!

-
- - - - \ No newline at end of file diff --git a/map/src/domon/domon.js b/map/src/domon/domon.js deleted file mode 100644 index 0b40843..0000000 --- a/map/src/domon/domon.js +++ /dev/null @@ -1,7 +0,0 @@ -/* domon.js - 北緯38.891度, 東経139.824度, ズームレベル16 で地図表示 */ - -var mymap = L.map("mymap").setView([38.891, 139.824], 16); -L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { - attribution: - '© OpenStreetMap contributors' -}).addTo(mymap); \ No newline at end of file