Release of Virtual Earth Silverlight map control CTP

Source: Internet
Author: User

Microsoft has brought us a lot of good news over the past few days due to the release of mix 09.

For example, the release of Silverlight 3 beta and the official release of IE8

We have another piece of good news today.

The Virtual Earth Silverlight map control CTP version based on deep Zoom is also released.

The method for obtaining this CTP version is as follows:

    1. Log on to the Microsoft connect website
    2. Enter a mandatory survey

 

Then you can go to the download page.

You can experience the effects of this control.

You can use it as follows:

    • Download and install Microsoft Virtual Earth Silverlight map control CTP to a directory
    • Reference Microsoft. virtualearth. mapcontrol. dll (available in the installation directory \ CTP \ libraries \) to the Silverlight Project

  • Reference map control assembly as follows

      1:  
        
         " sl3beta. vearth. mainpage " 
        
      2:  xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " 
      3:  xmlns: x = " http://schemas.microsoft.com/winfx/2006/xaml " 
      4:  xmlns: VE = " CLR-namespace: microsoft. virtualearth. mapcontrol; Assembly = Microsoft. virtualearth. mapcontrol " 
    5:<Grid X: Name ="Layoutroot">
     
    6:</GRID>
    7:</Usercontrol>

    Add map elements to the grid as follows:
      1:  
        
         " sl3beta. vearth. mainpage " 
        
      2:  xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " 
      3:  xmlns: x = " http://schemas.microsoft.com/winfx/2006/xaml " 
      4:  xmlns: VE = " CLR-namespace: microsoft. virtualearth. mapcontrol; Assembly = Microsoft. virtualearth. mapcontrol " 
    5:<Grid X: Name ="Layoutroot">
     
    6:<Ve: map/>
    7:</GRID>
     
    8:</Usercontrol>

In this way, we can obtain the initialized map interface of Virtual Earth.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.