Johannes Kebeck from Microsoft provides pointers to getting started with the Bing Maps Silverlight Control and highlighting the issues faced when building visually stimulating mapping applications.
This presentation was given on 3rd February 2010 at the Microsoft "Cardinal Place" office in London.
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Working with the Bing Maps Silverlight Control
1. The Bing Maps Silverlight Control Johannes Kebeck Bing Maps TSP jkebeck@microsoft.com
2. (Some) Recent Updates New Geocoders in DE and UK but overall quality improved Dynamic Compute Network Services in the Cloud New Imagery http://bingmapsupdates.cloudapp.net/ http://hannesve.cloudapp.net/BM-SL-Coverage/Default.htm
15. Getting Started Bing Maps Key for SOAP AJAX Silverlight https://www.bingmapsportal.com/
16. Why Silverlight? WPF Silverlight Win Forms AJAX Increasing Richness HTML Increasing Reach
17. What does it mean for Bing Maps? Improved map rendering: Panning and zooming now uses the DeepZoom-blending to transition between zoom-levels Superior graphics framework: Support for WPF animations and transformations of graphics and videos. Creating a consistent user experience in the browser: Available for users with Silverlight 2.0 or 3.0 installed. Supported browsers include Internet Explorer, Firefox and Safari.
19. What does it mean for Bing Maps? Improved map rendering: Panning and zooming uses the DeepZoom-blending to transition between tiles Superior graphics framework: Support for WPF animations and transformations of graphics and videos. Creating a consistent user experience in the browser: Available for users with Silverlight 2.0 or 3.0 installed. Supported browsers include Internet Explorer, Firefox and Safari. Utilize existing .NET skills: The Silverlight libraries are a subset of the .NET Framework 3.5. Visual Studio can be used to build the applications. Expression Blend can be used to build the user interface and graphical components. However, for the JavaScript-enthusiasts there is a scripting API for the Silverlight control.
20. The Right Tool for the Right Person Page.xaml.vb Page.xaml Visual Studio for the Developer Expression Blend for the Designer
21. CTP vs. v1 There are a lot of breaking changes Requires Bing Maps Key Build in Silverlight 3 Support for OOB Pushpin-Object Data Binding Design-time support for Expression Blend Languages DE, EN, ES, FR, IT Scripting support Bird’s Eye Imagery and Streetside (Available as CTP)
24. The First Applications Note: Animations consume quite a bit of CPU http://www.earthware.co.uk/demos/twittermap/
25. Windows Performance Analysis Tools http://msdn.microsoft.com/en-us/performance/cc825801.aspx http://blogs.msdn.com/seema/archive/2008/10/08/xperf-a-cpu-sampler-for-silverlight.aspx
26. Windows Performance Analysis Tools 76.2% of the load comes from one IE process 60.29% is spent in Silverlight core (graphics/decoding/property engine, etc. are all represented in agcore.dll)
41. Some Performance Tips Animations in Silverlight are great but try to restrain yourself If you use videos If possible avoid resizing the video in Silverlight. The download-process spins CPU-cycles as well. Test it on older PCs or laptop. Consider “Smooth Streaming” Enable Hardware-Acceleration HTML: <paramname="EnableGPUAcceleration" value="true" /> AND XAML: CacheMode="BitmapCache“ If you connect to a database Filter the points and retrieve only the points in the current map view Consider clustering If you draw polygons Consider Rasterizing. The more points a polygon has the longer the rendering takes.