Progressive overview #map
Flickr has a very slick way of showing the geolocation of a photo (thanks to Nicholas Furness for sending me this finding!). As you move your mouse towards the center of the map on the right panel of a photo page, the map zooms in a couple of times.
http://gws.maps.yahoo.com/MapImage?appid=FlickrDev&clat=58.276828&clon=13.602856&zoom=4&imh=100&imw=300&mflags=YKM
http://gws.maps.yahoo.com/MapImage?appid=FlickrDev&v=2&clat=58.276828&clon=13.602856&lat=58.276828&lon=13.602856&zoom=7&z=7&imh=100&imw=300&h=100&w=300&mflags=YKM&year=2011
http://gws.maps.yahoo.com/MapImage?appid=FlickrDev&v=2&clat=58.276828&clon=13.602856&lat=58.276828&lon=13.602856&zoom=14&z=14&imh=100&imw=300&h=100&w=300&mflags=YKM&year=2011
A quick re-engineering showed me that the HTML structure is really basic, a container holding a link, the 3 images (see above images) generated by REST calls at different fixed zoom levels (highlighted in bold above), the location marker (dot), and the copyright statement. JavaScript triggers the hover effect, now that is really slick and innovative - Bravo!
<div id="photo-story-map"> <a data-ywa-name="Location, Taken in, Map" class="photo-story-geopanel-trigger ywa-track" onclick="return F.actionQueue.queue_click(this.id);" id="photoGeolocation-smallmap" href=""> <img width="300" height="100" alt="" src="http://gws.maps.yahoo.com/MapImage?appid=FlickrDev&clat=58.276828&clon=13.602856&zoom=4&imh=100&imw=300&mflags=YKM" id="photo-story-map-zoom-out" style="opacity: 1;"> <img width="300" height="100" alt="" src="http://gws.maps.yahoo.com/MapImage?appid=FlickrDev&v=2&clat=58.276828&clon=13.602856&lat=58.276828&lon=13.602856&zoom=7&z=7&imh=100&imw=300&h=100&w=300&mflags=YKM&year=2011" class="defer" id="photo-story-map-zoom-in" style="opacity: 0;"> <img width="300" height="100" alt="" src="http://gws.maps.yahoo.com/MapImage?appid=FlickrDev&v=2&clat=58.276828&clon=13.602856&lat=58.276828&lon=13.602856&zoom=14&z=14&imh=100&imw=300&h=100&w=300&mflags=YKM&year=2011" class="defer" id="photo-story-map-zoom-street" style="opacity: 0;"> <div id="photo-story-image-dot" class=""></div> <canvas id="photo-story-dot" width="16" height="16"></canvas><canvas id="photo-story-copyright" width="300" height="100"></canvas> </a> </div>
Real Name?
I dubbed this feature "Progressive overview map". If anybody knows the real name, please let me know, this is a cool feature!


August 11th, 2011 - 10:58
Weeeee, what a quick and easy sluotion.