diff --git a/public/css/custom.css b/public/css/custom.css index d2da078..be4e61c 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -49,6 +49,12 @@ body { grid-area: info; } +.poi_image_container { + width: 100%; + max-height: 75vh; + overflow-y: auto; +} + .poi_image { width: 100%; height: auto; diff --git a/public/js/map/overlays/PoiOverlay.js b/public/js/map/overlays/PoiOverlay.js index d218fbb..89cbbe9 100644 --- a/public/js/map/overlays/PoiOverlay.js +++ b/public/js/map/overlays/PoiOverlay.js @@ -30,8 +30,9 @@ export default AbstractIconOverlay.extend({ } if (poi.attributes.image) { - innerHTML += ""; + innerHTML += "