I am loading map tiles on a JPanel based on the appropriate zoom level. Everytime I load the tiles for the next or previous zoom levels, I'm trying to create an effect similar to Google Maps where the current map tiles zoom in (or zoom out) and then the map tiles for the subsequent zoom level appears in a transition effect. Is it possible to create such an effect in JPanel? I'm using JMapViewer where the tiles are loaded from my local machine.
I referred the following link but somehow not finding any headway:
http://codekea.com/39jNvxn35jyE/free-java-swing-component-to-view-images-with-zoom-scroll-%3E-wanted-closed.html
I was able to create a fade-in effect of the map tiles that loads on zoom in or zoom out using the following link:
http://stackoverflow.com/questions/17731576/making-an-image-fade-in-and-fade-out
But when I try to scale and transform the Graphics, the newly loaded tiles gets scaled and transformed but not the previous one. Why is it so?