diff --git a/leaflet.js b/leaflet.js index 2c2d920..eaadbf3 100644 --- a/leaflet.js +++ b/leaflet.js @@ -17,6 +17,8 @@ // Fumiya238 / AR-project // AR-project / leaflet / leaflet.js //@Satou Fumiya Satou Fumiya on 2 Nov 4 KB clean:ファイルを整理、hrefを整理 +url = "https://www.google.com"; +html = f' グーグルです '; let map = L.map('map').fitWorld(); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: '© OpenStreetMap contributors', @@ -31,7 +33,8 @@ let id,marker,circle; // マーカーと緯度経度の設定 // 松ヶ丘開墾記念館 -let a = L.marker([38.70029457103109, 139.88541162806743]).addTo(map).bindPopup("サンプル"); +var image = "サンプル画像です
width'500' height='375'>"; +let a = L.marker([38.70029457103109, 139.88541162806743]).addTo(map).bindPopup("サンプル").setContent(image); a = L.latLng(38.70029457103109, 139.88541162806743); // 松ヶ岡開墾場 -MATSUGAOKA CRAFT PARK-