Newer
Older
2021-kaoka / hogemap.js
@歌岡大祐 歌岡大祐 on 16 Aug 2021 357 bytes exp
  /* 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: 
   '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(osm);
L.control.scale().addTo(osm);