/* domon.js - 北緯39.03277度, 東経140.02994度, ズームレベル20 で地図表示 */ var osm = L.map("hogemap").setView([39.03277, 140.02994], 20); L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' }).addTo(osm); L.control.scale().addTo(osm);