ASP.NET 2.0 Virtual Earth Map Control

时间:2022-04-23
本文章向大家介绍ASP.NET 2.0 Virtual Earth Map Control,主要内容包括其使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。

Microsoft Virtual Earth API 3.0中新增的一项强大的功能使用GeoRSS, GeoRSS提供了一种地理位置搜索与聚合的方案,并且可以用于地理分析,例如在指定地点10公里范围内,所有可能受地震影响的地物的信息,在自己出行道路中出现交通事故的位置点,等等。只要RSS包含了地理位置信息,就可以将应用进行扩展。GeoRSS层可以很容易的使用基于WGS84 lat/long坐标系,或GeoRSS Simple语法的GeoRSS XML文件,加入一组点到地图上,具体的方法可以参考这两篇文章:

http://blogs.msdn.com/keithkin/archive/2006/09/19/761333.aspx

http://blogs.msdn.com/keithkin/archive/2006/09/19/761573.aspx

在Keith的demo中,他实现了将鼠标停留在地图上某标注点,其相关信息就会反应出来,示例如下:

http://krkinnan.members.winisp.net/samples/georss/hurricaneivan.html

在Cpdeplex网站上有一个开源的ASP.NET 2.0 Virtual Earth Map Control :PietschSoft.VE3 is an ASP.NET 2.0 Virtual Earth v3 Server Control. The goal of this control is to allow ASP.NET developers to utilize Virtual Earth mapping within their applications with out requiring any JavaScript knowledge.