How can I make the Virtual Earth block use 3D mode?

When I enter all the information for a 3D mode scene view in the Virtual Earth block, it shows the place in 2D mode unless I click 3D mode. How can I tell the Virtual Earth block to automatically switch to 3D mode?
[215 byte] By [RayDixon-MSFT] at [2008-1-12]
# 1

Unfortunately you can't override the initialize method which makes the call to VirtualEarth's loadMap function.
However you could create your own block...

1) Go to "My Page"

2) "Create a Block"

3) Search for Virtual Earth in the blocks list

4) "Rip It"

5) Go to "Block Code"

6) In the VirtualEarthClass.prototype.initialize method change the line:

Code Snippet
VirtualEarthClass.map.LoadMap(new VELatLong(47.6, -122.33), 4 ,'h' ,false);

to

Code Snippet
VirtualEarthClass.map.LoadMap(new VELatLong(47.22, -122.44), 12, 'r', false, VEMapMode.Mode3D, true);

7) Save the block

8) Go to "My Projects"

9) Share the block

10) Now you should be able to use it in a mashup, you could of also done the same without sharing it but other users might want to use it Smile

AndyS at 2007-9-25 > top of Msdn Tech,Popfly,Popfly General Discussion...
# 2
Thanks AndyS. I easy did this and shared the block as Virtual Earth 3D. There's a bit of an interaction issue though, see the bug report here...
sstanzel at 2007-9-25 > top of Msdn Tech,Popfly,Popfly General Discussion...