We want to load images on click to work around the API limit for thumbnails and allow adding more than 50 nearby points.
Implementation
- Change limit from 50 to 100
- Load thumbnail on click instead of directly with the API call
- Scroll into view after the image is loaded ( even if we scroll twice then ) to prevent popups that are out of view
Demo for fix:
https://de.wikipedia.org/wiki/Bremen#/map/0
- Load nearby points & click on one of them (e.g. at the top of the screen )