diff --git a/kan5.html b/kan5.html index 00d584c..1dd019f 100644 --- a/kan5.html +++ b/kan5.html @@ -19,10 +19,45 @@ attribution: '© OpenStreetMap contributors' }).addTo(map); + // GeoJSONデータを直接挿入 const geoJsonData = { "type": "FeatureCollection", "features": [ - // ここにGeoJSONデータを挿入 + { + "type": "Feature", + "geometry": { + "coordinates": [139.82656, 38.91803], + "type": "Point" + }, + "properties": { + "_umap_options": { + "color": "Blue", + "iconClass": "Drop", + "iconUrl": "/uploads/pictogram/hotel.svg", + "outlink": "https://s-camps.com/" + }, + "description": "キャンプ以上、ホテル未満 この地を楽しむ宿泊拠点", + "name": "SAKATANTO CONTAINER HOTEL「CAMPS」" + } + }, + // 他の地点データもここに追加 + { + "type": "Feature", + "geometry": { + "coordinates": [139.834836, 38.914724], + "type": "Point" + }, + "properties": { + "_umap_options": { + "color": "Blue", + "iconClass": "Drop", + "iconUrl": "/uploads/pictogram/hotel.svg" + }, + "description": "コンテナホテル", + "name": "リゾートイン酒田本町" + } + }, + // 他の地点を追加する... ] };