惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Google Online Security Blog
Google Online Security Blog
Google DeepMind News
Google DeepMind News
S
Schneier on Security
S
Secure Thoughts
T
The Exploit Database - CXSecurity.com
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
Security Latest
Security Latest
Jina AI
Jina AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Recorded Future
Recorded Future
T
Tor Project blog
有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
News | PayPal Newsroom
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
Forbes - Security
Forbes - Security
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
NISL@THU
NISL@THU
C
Cisco Blogs
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Google DeepMind News
Google DeepMind News
Project Zero
Project Zero
IT之家
IT之家
T
Threatpost
Cyberwarzone
Cyberwarzone
O
OpenAI News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
J
Java Code Geeks
P
Proofpoint News Feed
The Last Watchdog
The Last Watchdog
月光博客
月光博客
Latest news
Latest news
MongoDB | Blog
MongoDB | Blog
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - Bēniaǒ

简化工作流程,10款必备的HTML5开发工具 Bing Maps开发扩展三:Bing Maps中渲染ESRI SHP空间数据 Bing Maps开发扩展二:基于Oracle Spatial的空间数据分析 Flash中各种图形的绘制 ASP.NET 4.5新特性一:强类型数据绑定(Strongly-Type Data-Bindings) 产品管理,明天会如何发展? 产品经理的34个感想 Bing Maps开发扩展一:Oracle Spatial的空间数据渲染 DeepEarth自定义图元的中心位置纠偏 研发管理:产品研发团队的早会 中国式产品管理,探索中前行 SQL Server 2008空间数据应用系列十二:Bing Maps中呈现GeoRSS订阅的空间数据 SQL Server 2008空间数据应用系列十一:提取MapInfo地图数据中的空间数据解决方案 【动画技巧】GIF动画转SWF小技巧 【动画技巧】在Flash中自定义鼠标外观 SQL Server 2008空间数据应用系列十:使用存储过程生成GeoRSS聚合空间信息 Bing Maps Android SDK Released SQL Server 2008空间数据应用系列九:使用空间工具(Spatial Tools)导入ESRI格式地图数据 SQL Server 2008空间数据应用系列八:基于Bing Maps(Silverlight)的空间数据存储
Bing Maps WPF Control
Bēniaǒ · 2011-11-09 · via 博客园 - Bēniaǒ

       去年鄙人写了一系列关于Bing Maps开发的博文,深受网友的喜欢,很久没写关于Bing Maps的博文了,最近关注了Bing Maps WPF Control,于此将本人个人对Bing Maps WPF Control的应用经验同网友们分享,同时欢迎大家丢转。

一、下载Bing Maps WPF Control

      基于WPF的Bing Maps开发和Silverlight的开发基本一致,不同的是WPF Control还是bate版本,功能上尚未Bing Maps Silverlight Control那么完善,关于Bing Maps Silverlight Control 开发这里就不多谈,有兴趣的请查阅:[Silverlight]Bing Maps系列文章汇总

Bing Maps WPF Control下载地址:http://www.microsoft.com/download/en/details.aspx?id=27165

二、 应用Bing Maps WPF Control

      Bing Maps WPF Control的应用和Bing Maps Silverlight Control基本一致,只需要在WPF中将Map空间所在的名称空间添加引用就可以直接使用Map控件以呈现出地图效果了。

xmlns:m="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF" 

<Window x:Class="BingMapWPF.MainWindow"
        xmlns
="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x
="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:m
="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF" 
        Title
="MainWindow" Height="350" Width="525">
    <Grid>
        <m:Map x:Name="map" CredentialsProvider="">
            <m:MapLayer x:Name="mapLayer"/>
        </m:Map>
    </Grid>

</Window> 

 

三、 Bing Maps WPF Control图元渲染

      Bing Maps Silverlight Control中对于大数量的图元渲染性能非常低下,这里对Bing Maps WPF Control做了个简单的测试,随便从数据库中提取了5000个地名点在地图中渲染出来,性能上还是存在很大的问题,不过这里只是直接渲染并没有做任何的优化处理,对于渲染性能这块还是有很大的优化空间,理论上性能要比Bing Maps Silverlight Control高。

 

        本片就简单介绍到这里,如对Bing Maps开发感兴趣,不妨移步看看《【Silverlight】Bing Maps系列文章汇总》。