Virtual Earth Map Control now supports KML!!!

Databinding to KML has to be one of the top requested features I hear when I speak to people about VE.  The good news is that I can now tell people YES when they ask about it!!!  The VE team released a Quick Fix Engineering (QFE) update to Virtual Earth that included some enhancements to the v6 map control (more here).  So how does it work?  The VEDataType enumeration has been updated.  All you need is a slight tweak to the same code you would use for GeoRSS.

 

map = new VEMap(‘myMap’):

map.LoadMap(new VELatLong(46.3081, -122.1928), 12);

var l = new VEShapeLayer();

var veLayerSpec = new VEShapeSourceSpecification(VEDataType.ImportXML, "YourKmlFileHere.kml", l);

map.ImportShapeLayerData(veLayerSpec, onFeedLoad);

I have not tried it out myself.  I don’t have many KML sources:).  Try it out with yours!

 

Technorati Tags: ,,,
This entry was posted in Virtual Earth. Bookmark the permalink.

19 Responses to Virtual Earth Map Control now supports KML!!!

  1. absolutforyou says:

    creat information

  2. Unknown says:

    wow gold wow gold wow gold wow power leveling wow power leveling wow power leveling wow power leveling World of Warcraft Gold wow gold wow power leveling wow gold wow gold wow gold wow power leveling wow power leveling Rolex Replica rolex Rolex Replica rolex Rolex 租房 租房 北京租房 北京租房 changyongkuivip

  3. Unknown says:

    Be wow gold cheapest wow power leveling under the best single-site!

  4. Unknown says:

    ビジネス 一括見積

  5. Unknown says:

    您需要二手液晶显示屏、废旧液晶屏么?我们是不折不扣的二手液晶屏、旧液晶屏大批发商,长期大量供应可再利用的旧液晶屏。我公司提供的各种尺寸的二手液晶屏, 不同厚薄如笔记本屏,均已经过我们严格的分类,检验,测试流程。请访问协力液晶屏www.sceondhandlcd.com[ggfbefjahbbecee]

Comments are closed.