Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 611 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 611 Bytes

MIERUNE-Color

LeafletでMIERUNE地図「Color」を表示

Leaflet読み込み

<script src="./library/leaflet-0.7.3/leaflet.js"></script>
<link href="./library/leaflet-0.7.3/leaflet.css" rel="stylesheet"/>

MIERUNE地図「Color」を設定

var m_color = new L.tileLayer('https://tile.mierune.co.jp/mierune/{z}/{x}/{y}.png', {
    attribution: "Maptiles by <a href='http://mierune.co.jp/' target='_blank'>MIERUNE</a>, under CC BY. Data by <a href='http://osm.org/copyright' target='_blank'>OpenStreetMap</a> contributors, under ODbL."
});

画像