Mercurial > hgrepos > hgweb.cgi > skipweb
comparison matsugaoka/chizu1/chizu.html @ 3936:8b449670e1a8
added
author | KITAJIMA Ryuto <c118077@roy.e.koeki-u.ac.jp> |
---|---|
date | Fri, 06 Dec 2019 14:01:26 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3935:c0d9d7271189 | 3936:8b449670e1a8 |
---|---|
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Quick Start - Leaflet</title> | |
5 <meta charset="utf-8"> | |
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
7 <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin=""> | |
8 <script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script> | |
9 <style type="text/css"> | |
10 <!-- | |
11 #mapid { height: 700px; width: 600px} | |
12 --> | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <div id="mapid"></div> | |
17 <script> | |
18 var mymap = L.map('mapid').setView([38.893254, +139.819300], 18); | |
19 L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { | |
20 maxZoom: 18, | |
21 attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' | |
22 }).addTo(mymap); | |
23 L.marker([38.894381, +139.819511]).bindPopup("なんとここはカフェテリアです。").addTo(mymap); | |
24 </script> | |
25 </body> | |
26 </html> |