After several months of CTP preview, Microsoft finally released Bing map Silverlight 1.0 (Bing Maps Silverlight control version 1.0 ). I don't have to worry about the benefits of Bing map Silverlight. In short, it is to create the next-generation lbs location service application through RIA (rich Internet application. Or directly go to the theme to see what the Bing map Silverlight Control 1.0 contains.
- The functions in all the CTP versions are basically retained, including deep zoom, conversion between screen pixels and latitude and longitude, vector images, and graphic or video display on maps. For more information, see Microsoft's Bing map expert Chris Pendleton's blog "Introducing the Virtual Earth Silverlight map control" or my sessions from mix 2009.
- Based on Silverlight 3: The Bing map Silverlight control is consistent with the latest Silverlight 3.0 release;
- Support expression Blend: Add Bing Maps Silverlight. DLLs to your expression blend project. You can directly modify Fields instead of code. In addition, the map and your modifications can be directly presented. Visual Studio 2010 beta 2 supports preview;
- Bing map keys: Goodbye tokens, the original token method is too complicated. In the future, Microsoft uses the key method to authenticate map requests. You only need to add a line of code to the program;
- Away from the browser: The Bing Maps Silverlight control supports one of the most important functions of Silverlight 3, that is, out of browser. Right-click the Silverlight application to save its shortcuts to the desktop;
- Extensibility of map mode: we have added some new classes to support different map types;
- Pushpin class: the pushpin class is added to support vector icons, rather than the built-in drawing tool. This will be very useful, and users can customize more interesting icons;
- Data Binding: it makes it easier to bind your data to a map;
- Global support: the Bing map platform supports various languages, including Ajax controls and Web services. Now you can use the Silverlight control to display maps;
- Bing Maps Web Service property type safety: we retain the Bing Maps Web Service Classes, methods and properties, which means you do not need to modify the original Bing Maps Web Service Application class, they can be directly processed by the Bing map Silverlight control.
- Fading labels: When you move the mouse away, the road data displayed on the satellite map is gradually hidden;
- Descriptive API: for those that do not need Bing Maps Silverlight control (Microsoft Visual Studio 2008 SP 1, Microsoft Silverlight 3 tools for Visual Studio 2008 SP 1), we provide a javascript Interface
- You can use the object Param label to point to the xap file, which is similar to the Bing map Ajax control. Your code is similar:
<Object ID = 'slctl 'Data = "data: Application/X-Silverlight," type = "application/x-silverlight-2" width = "800" Height = "500">
<Param name = "Source" value = "http://dev.virtualearth.net/silverlight/mapcontrol/v1/Microsoft.Maps.MapControl.xap"/>
<Param name = "enablehtmlaccess" value = "true"/>
<Param name = "initparams" value = "applicationid = your key"/>
</Object>
The descriptive feature supported by Bing Maps Silverlight SDK is set animation.Set map view (rectangle, center point, map Mode)Set culture (localized maps)Set visibility of the scale barCapture user targets (rectangle, center point, zoom level)Location (coordinates)Add pushpinsCapturing events (mouse, keyboard, Bing Maps)Drawing
- Embedded map: A simple URL can embed Ajax or Silverlight maps into your application. If you are not good at programming, you can use URL control to display a map and use IFRAME to embed it into your application:
(Silverlight)
Http://dev.virtualearth.net/embeddedMap/v1/silverlight/aerial? Zoomlevel = 10 & center = 47.5 _-122.5 & pushpins = 47.5 _-122.5(Ajax)
Http://dev.virtualearth.net/embeddedMap/v1/AJAX/aerial? Zoomlevel = 10 & center = 47.5 _-122.5 & pushpins = 47.5 _-122.5Embedded map supports the following feature: Map mode: Set the map mode. mapmode = {Road, aerial, aerialwithlabels, Birdseye, birdseyewithlabels} zoom level: Set the map zoom level: zoomlevel = {1-21} center: Set the map center point: center = {latitude_long1_} heading: Set the map heading: Heading: {north, south, east, west} pushpins: Places pushpins on the map: pushpins = {latitude_long1_} culture: set the map localization: Culture = {en-us}
We have also modified the terms of use (Terms of Use). For details, see Chris's blog: "Bing Maps Terms of Use Changes; benefit educators, not-for-profits and developers ."
The following are some useful resources:
Download the Bing map Silverlight control (. DLLs in the. MSI package)
Bing map Silverlight control interactive SDK
Bing map Ajax control interactive SDK
Bing map Ajax control SDK
Bing map Silverlight control SDK
Bing map Web Services SDK
Bing map Account Management Center
You can also watch a video of the Bing map Silverlight control (the video about what the Bing Maps Silverlight control)