Join LiveSide!
Sign In using: Name/Password OpenID
or Live ID: Sign In Live ID
0 out of 8,034 members
are online, & 19 guest(s).

Recent Comments




–Inky
re: Windows Live Web Toolbar – How to integrate into your site

–BV2312
re: Windows Live Web Toolbar – How to integrate into your site

Log in or Join to leave a comment!

LiveSide on Mobile

Our latest posts and our favorite links,
all on your phone or mobile device
Visit m.LiveSide.net
Or go to www.LiveSide.net
on your mobile device and we'll redirect you!

Tweets We Like

Loading...

LiveSide Time

Redmond

Dallas (server)

London

Shanghai

Windows Live Calendar

PDC LA Nov 17-19

   www.microsoftpdc.com

Follow us on Facebook

    LiveSide.net
   
    Promote Your Page Too

  • LiveSide on the Windows Live Network
  • LiveSide on Facebook
  • LiveSide on Twitter
  • LiveSide RSS  
  • Windows Live Alerts
  •  
  • feedburner
  •  
  • Virtual Earth 6.2 KML Support, Part 1

    Overview

    KML (Keyhole Markup Language), an XML schema originally developed for Google Earth to describe shapes on a map has been supported by VE since version 6.0 was released and has remain unchanged up to VE 6.2.  The common questions this series will address are "Which KML features does VE support?" and "How do I use these features?" for developers with no KML experience.

    KML Quickstart

    If you haven't already, take a look at the Interactive SDK (http://dev.live.com/virtualearth/sdk/ ) and MSDN (http://msdn.microsoft.com/en-us/library/bb429606.aspx ) on to see how to load a feed into VE. I had trouble loading KML locally (GeoRSS was okay) using any browser even with a website setup through IIS.  I found that uploading my KML file to SkyDrive and referencing the URL worked.  Finally, you'll need to open the google KML documentation page (http://code.google.com/apis/kml/documentation/kmlreference.html) to follow along.

    Here is a sample KML loader taken from the SDK with a few modifications:

    ...
  • Virtual Earth Basics Part 1 – Loading the Map

    Welcome to the first part in series that takes you through the core functionality of the Microsoft’s Virtual Earth JavaScript control. Through example code I hope to either introduce you to the Virtual Earth control or show you how to do things better and highlight some things you may not have known. I will be making use of the jQuery JavaScript library to provide valuable helper functions and simplify our code. If you feel there is something that could done better please share your ideas in the comments below.

    Lets start by loading the Virtual Earth map on a page. Sounds trivial? Well it is, but lets do it as if you were building a real world application and include:

    • Browser detection to only load the map for supported browsers
    • Binding to the body onload method programmatically as you may not have access to the actual HTML tag
    • Dispose the map when you are done
    • Load the Virtual Earth JavaScript after the page has loaded to make things load fast
    • Have a onLoadedMap method where you can add your data once the map has loaded
    • Put your code and styles in external files from the HTML page itself

     VEBasicsPart1LoadingTheMapFiles

    ...
  • Load Virtual Earth on Demand

    The Virtual Earth JavaScript control is not small weighing in at 217KB when compressed in Version 6.2. When you require the rich experience of Virtual Earth this size is not an issue, the control is aimed at broadband users and within a few moments of interacting with the map you can easy exceed this with the rich imagery being loaded on demand. But what if your web page only needs to show the Virtual Earth map when a user asks for it or you just want your page to load super fast? You need to load Virtual Earth on demand.

    ajax-loader

    See an example here: http://www.soulsolutions.com.au/examples/VE62/loadondemand.htm (view source for full code)

    ...
  • Bring your own Tile Provider to Virtual Earth, OpenStreetMap

    The Virtual Earth JavaScript control has supported tile overlays for some time. A tile layer is set of 256px square images matching the Mercator projection of Virtual Earth. Tile layers are usually layered on top of Virtual Earth, the control supports transparency and an opacity of the entire layer. With the latest release of Version 6.2 of the control you can now disable the base tile layers allowing for greater performance when your tiles are all you need. Lets look at what is required to load OpenStreetMap tiles into Virtual Earth.

    VEOSM

    ...
  • Video - Getting Started with the Virtual Earth Web Service

    VEWS was just released and after a few attempts myself to get it working I thought I would share a short video on the sign up process and adding the references to Visual Studio 2008.

    VEWS

    Video after the break:

    ...
  • Deep Dive introduction into the Virtual Earth ASP.NET control

    Angus and dev.live.com announced on the 28th July 2008 that the July refresh of the Windows Live Tools would include the release of the much anticipated Virtual Earth ASP.NET control.

    The control is a complete drag and drop experience from within Visual Studio 2008. Drag the map from your toolbox onto your design surface and resize to suit. As you would expect all Virtual Earth 6.1 properties can be set as properties of the control, there are a full set of server side and client side events for the map and a range of very cool client side extenders.

    Through a series of videos we take you through the full experience of installing the control and coding with its basic features. Each video is fairly detailed and runs for about 5-7min. They are hosted by Silverlight Streaming so you will need to install the latest Beta2 Silverlight Client or download the wmv file directly.

    Through the videos I hope to not only guide you through how I saw the control being used when I designed it but also share some tips and insights. The videos where recorded at 1024x768px @ 30fps and rescaled for this presentation. Every single sample shown can be downloaded as part of a single package that is also hosted online. It is my hope this sample will grow in time to include some complex examples. Your feedback is welcome.

    Videos after the jump

    ...
  • Create a Deep Zoom Panorama with Windows Live

    In this article I will show you how to use a combination of free tools and services to produce and host a high quality panorama. You will render this using Silverlight2 and display it geo-referenced on Virtual Earth. The combination of hosted storage and services from Windows Live gives us a powerful Rich Internet Application from a basic HTML page. The tools and services you will use are:

    The final result below is made from eight photos taken of the Story Bridge in Brisbane, Australia at 6am.

    Final 

    ...
  • Windows Live Quick Apps – Contoso Bicycle Club Part 3

    Welcome back to the third part of our deep dive in the Windows Live Quick Apps Website featuring the Contoso Bicycle Club. In this part we’ll take apart one of the main JavaScript function calls that this web site uses, updatePage.

    This is the main routine in the application and the one that controls the content for the main area of screen.

    ...
  • Windows Live Quick Apps – Contoso Bicycle Club Part 2

    Welcome back to the second part of our deep dive in the Windows Live Quick Apps Website featuring the Contoso Bicycle Club. In this part we’ll take a look at another custom user control found on the home page, the Latest Rides feed.

    This control is like the previous control we took apart in the first part of the deep dive, but with some changes to that manifest themselves into what looks like a completely different control.

    ...
  • Windows Live Quick Apps – Contoso Bicycle Club

    The Contoso Bicycle Club is a demonstration website put together to show off a number of Windows Live technologies and how easy it is to integrate these technologies into your own websites. The source code for both this web site and a second web site entitled Contoso University are available for download from CodePlex.

    One note before we proceed any further. Both of these websites are written to run with Visual Studio Orcas (Beta 2 and above). Both applications also use Asp.Net Ajax and the Contoso Bicycle Club also requires the Asp.Net Ajax Toolkit. Both Asp.Net Ajax, the Toolkit and also Asp.Net Ajax Futures are freely downloadable from here.

    In this deep dive series, we will take apart the web application and explain in detail exactly how it was put together.

    ...
  • Overview: Professional Windows Live Programming

    Wrox is about to release a book by Jon Arking titled "Professional Windows Live Programming". As a Microsoft MVP, I was fortunate to get a pre-release copy. The book does a good job highlighting the many services that makeup Windows Live, including...
  • Virtual Earth SDK 6 Released

    The Virtual Earth blog today announced the release of version 6 of its VE SDK. The new SDK is available online on MSDN as well as the interactive SDK on http://dev.live.com/ . To get the new version, all you need to is change your ashx link from http...
  • Windows Live Interactive SDKs

    If you want to get a start with some of the Windows Live SDKs, then it can be a daunting task. You could try looking for tutorials on the chosen SDK, or look at the examples that usually come with the SDK package. But with two of them you are actually provided with an interactive SDK that you can use and create your own code based on what you put choose. At the moment there are only two interactive SDKs, and they are provided for Live Search and Virtual Earth. Each one has its own advantages for usage, Live Search is a great starting point for your C# project, whether it be an ASP.NET project or a WinForms project; the Virtual Earth one is good for even the most basic of users, as it has the ability to let you put the code simply into a webpage and can easily give you, for example, a "Where are we" sort of page for your website.

    ...
  • Windows Live Quick Apps and New Live Partner Initiative

    At the World Partner Conference in Denver today, they took a look at Windows Live and the opportunities that are there for companies to take advantage of the services that are offered by Windows Live. They showed off two applications that had been built...
  • "Live In A Box" - A Way To Learn Live SDKs

    The Windows Dev blog posted last week about a new project that has appeared on CodePlex called " Live In A Box ". First thing to note about this project is that although it's been made by people who work at Microsoft, it's not actually an official offering...