1. First you need to create two maps in fusion table, and copy this script from GitHub.
2. Open script in any text editor and change lines
[74-75 and 94-95] This is your Fusion table ID and geocoded column. You can use FT Wizard to get this data if you are not sure.
3. Save new file and just remember that both maps size should be the same (width and height).
4. That's all now you should see your maps with swipe effect.
TIP: You can also disable some of the Map function for better performance. Just paste option after line zoom:2 [69 and 90].
scrollwheel: false,
navigationControl: false,
mapTypeControl: false,
scaleControl: false,
draggable: false,
Enjoy !
Dear Piotr, is it possible for all these functions (as on your blog) to be shown using Google Earth 3D?
ReplyDeleteIt's much more cooler than using the 2D maps or 2D satellite, dont ya think so?
:D
Line 67: getElementByID('after') should be changed to getElementByID('before')
ReplyDeleteCheers for the great piece of work nonetheless :)