|
|
5行目: |
5行目: |
| | | |
| ''※施設名称で検索しているだけですので、似た名前の施設がある場合など住所がずれる可能性があります。'' | | ''※施設名称で検索しているだけですので、似た名前の施設がある場合など住所がずれる可能性があります。'' |
− |
| |
− | <html>
| |
− | <iframe id="map-iframe"
| |
− | width="600"
| |
− | height="450"
| |
− | style="border:0;"
| |
− | allowfullscreen=""
| |
− | loading="lazy">
| |
− | </iframe>
| |
− |
| |
− | <script>
| |
− | document.addEventListener('DOMContentLoaded', function() {
| |
− | var titleElement = document.getElementById('firstHeading');
| |
− | if (titleElement) {
| |
− | var placeName = titleElement.textContent.trim();
| |
− | var iframe = document.getElementById('map-iframe');
| |
− | iframe.src = "https://www.google.com/maps?q=" + encodeURIComponent(placeName) + "&output=embed";
| |
− | }
| |
− | });
| |
− | </script>
| |
− | </html>
| |
2025年8月7日 (木) 02:30時点における最新版
GoogleMap
※施設名称で検索しているだけですので、似た名前の施設がある場合など住所がずれる可能性があります。