MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




C# Virtual Earth Coding For the web Via Volta

This is a discussion on C# Virtual Earth Coding For the web Via Volta within the Virtual Earth Blogs forums, part of the Blogs category; The promise of Live Labs Volta to allow you to build your web apps end-to-end in managed code ...


Go Back   MapPoint Forums > Blogs > Virtual Earth Blogs

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-13-2007
Senior Member
Blue Belt
 
Join Date: Sep 2007
Posts: 156
C# Virtual Earth Coding For the web Via Volta

The promise of Live Labs Volta to allow you to build your web apps end-to-end in managed code is easy on the ears for developers. If you've spent any significant time building web apps you've probably developed a deep love-hate relationship with Javascipt. Volta:

The Volta technology preview is a developer toolset that enables you to build multi-tier web applications by applying familiar techniques and patterns. First, design and build your application as a .NET client application, then assign the portions of the application to run on the server and the client tiers late in the development process. The compiler creates cross-browser JavaScript for the client tier, web services for the server tier, and communication, serialization, synchronization, security, and other boilerplate code to tie the tiers together.

The technology preview of Volta is available right now [download then get started] and includes support for building Virtual Earth based applications in 2D and 3D. Read about the Virtual Earth Volta library here at the end of the page. They have even re-written a portion of the interactive SDK in C# which you can try out here.

Here is a snippet of code from Dragos Manolescu of Live Labs showing how to show/hide a shape with Volta using the VE library:

private void ShowHideShape()
{
*** var map = new Microsoft.LiveLabs.Volta.VirtualEarth.Map(mapDiv);
*** map.LoadMap();
*** Shape shape = new Shape(ShapeType.Pushpin, map.GetCenter());
*** shape.SetTitle("My pushpin");
*** shape.SetDescription("This is a pushpin.");
*** map.AddShape(shape);
*** doShowShape.Click += delegate { shape.Show(); };
*** doHideShape.Click += delegate { shape.Hide(); };
}


Click here to view the full post.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/c-virtual-earth-coding-web-via-volta-6895.html

Posted By For Type Date
C# Virtual Earth Coding For the web Via Volta: digWin This thread Refback 05-16-2008 03:34 PM
MapPoint Download - MP2K Magazine This thread Refback 12-15-2007 09:08 PM
The Magazine for MapPoint - MP2K Magazine This thread Refback 12-14-2007 09:36 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Virtual Earth News from GEOINT 2007: Virtual Earth Appliance VE For Government Virtual Earth Blogs 0 10-24-2007 12:10 PM
Virtual Earth @ WPC VirtualEarth MSDN Blog Virtual Earth Blogs 0 09-15-2007 02:17 PM
MSN Virtual Earth. Eric Frost News and Announcements 0 11-03-2006 11:27 AM
Virtual Earth 4 Eric Frost MapPoint Web Service and Virtual Earth 0 10-31-2006 10:17 PM
Virtual Earth Video Eric Frost MapPoint Web Service and Virtual Earth 0 08-22-2005 03:59 PM


All times are GMT -5. The time now is 08:02 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53