範囲リンク

javascript
function changeMapImage(imgPath) {
  document.getElementById('map').src = imgPath;
}