Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Mashup 101: Virtual Earth Map Control and AJAX (Part I)

Download

Right click “Save as…”

In Part I of this two part screencast, Microsoft Federal Developer Evangelist Marc Schweigert demonstrates the basic concepts used build a mashup application using the Virtual Earth map control and AJAX style programming.  In Part II, we’ll build the same solution using ASP.NET “Atlas.”

This screencast was inspired by various tutorials and walkthroughs from the following:

http://spaces.msn.com/virtualearth/blog/
http://blogs.msdn.com/jhawk/
http://viavirtualearth.com/

You can learn more about programming the Virtual Earth map control at http://msdn.microsoft.com/live/.  The source code for this screencast is available here.  Don't forget to check out the Federal D&PE blog at http://blogs.msdn.com/federaldev/.

-Marc

Tags:

Follow the Discussion

  • I just noticed this question in the comments section my post about this screencast on our team blog.  I thought it might be valuable to share with those who find this screencast through other means than the blog.

    Question:
    "I've already worked on this kind of development, and i'm impressed with Visual Studio JavaScript debugging facilities...
    Is it standard with Visual Studio 2005?"

    Answer:
    "Yes.  It's a little known feature of Visual Studio / IE.  It is not enabled by default.  Just go to Tools->Internet Options (in IE).  Then go to the Advanced tab.  Make sure both "Disable Script Debugging" checkboxes are unchecked.  Now set a breakpoint in your JavaScript.  You should now have JavaScript debugging enabled.  It definitely makes JavaScript programming a little more productive Smiley."

    -Marc
  • What software package are you using to capture this vidio?  I am interested in doing this too.

    Steven James
    steven.james@1800thenerd.com
  • Camtasia Studio from TechSmith
  • Great article. Thanks very much.
    Small (but important) typo in the code though:

    xmlhttp.Open("GET", url, true);

    should be

    xmlhttp.open("GET", url, true);

    or else it won't work in the fox.

    Thanks again.

    If you have a moment I'm working on the logic to introduce clustering of points server side based on your AJAX code.
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=567362&SiteID=1
    John.
  • I can get this program to work fine when I download it onto my laptop and run it. When I upload and run it on the server,  I get a JavaScript Syntax error. Any ideas what I might need to check on?

    http://officialmeetings.com/VirtualEarthAjax/VirtualEarthAjax.htm

    Thanks!!
  • The problem mentioned above was resloved once I changed the server to ASP.NET 2.0.
  • Marc, would love to see if I can use this  BUT   it is set to windows authenication for "marc  .." and i get a build/compile error.  The web config is set to ur user name.  Also,  I am getting a "Microsoft Jscript compilation error:Syntax error .  That is really puzzling.
    Can u help?  Embarassed
  • Chris PietschmannCRPietschma​nn Chris Pietschmann
    The Virtual Earth map support has since been taken out of ASP.NET AJAX "Atlas".

    I have an open source Virtual Earth mapping control using ASP.NET AJAX Extensions that I've been working on for awhile now. It's hosted over at CodePlex, so check it out if you're interested.

    PietschSoft.VE - ASP.NET AJAX Virtual Earth mapping server control

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.